Class: CustomFields::Field
Class Method Summary
collapse
Instance Method Summary
collapse
#as_json, #from_presenter, #to_presenter
Class Method Details
.presenter_class ⇒ Object
18
19
20
|
# File 'lib/locomotive/custom_fields.rb', line 18
def self.presenter_class
Locomotive::ContentFieldPresenter
end
|
Instance Method Details
#class_name_to_content_type ⇒ Object
14
15
16
|
# File 'lib/locomotive/custom_fields.rb', line 14
def class_name_to_content_type
self._parent.send :class_name_to_content_type, self.class_name
end
|