Module: CustomField::Mixin::ClassMethods
- Defined in:
- backend/app/model/reports/custom_field.rb
Instance Method Summary collapse
-
#register_field(record_type, field_name, data_type, options = {}) ⇒ Object
-
#register_subreport(field_name, record_types, options = {}) ⇒ Object
Instance Method Details
#register_field(record_type, field_name, data_type, options = {}) ⇒ Object
73 74 75 76 |
# File 'backend/app/model/reports/custom_field.rb', line 73 def register_field(record_type, field_name, data_type, = {}) CustomField.register_field(record_type, field_name, data_type, ) end |
#register_subreport(field_name, record_types, options = {}) ⇒ Object
68 69 70 71 |
# File 'backend/app/model/reports/custom_field.rb', line 68 def register_subreport(field_name, record_types, = {}) CustomField.register_subreport(self, field_name, record_types, ) end |