Class: Locomotive::Steam::ContentTypeField::SelectOption
- Inherits:
-
Object
- Object
- Locomotive::Steam::ContentTypeField::SelectOption
- Includes:
- Models::Entity
- Defined in:
- lib/locomotive/steam/entities/content_type_field.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
Returns the value of attribute field.
Attributes included from Models::Entity
#associations, #attributes, #base_url, #localized_attributes
Instance Method Summary collapse
Methods included from Models::Entity
#[], #[]=, #_id, #change, #initialize, #method_missing, #respond_to?, #serialize
Methods included from Models::Concerns::ToJson
Methods included from Models::Concerns::Validation
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Locomotive::Steam::Models::Entity
Instance Attribute Details
#field ⇒ Object
Returns the value of attribute field.
78 79 80 |
# File 'lib/locomotive/steam/entities/content_type_field.rb', line 78 def field @field end |
Instance Method Details
#name ⇒ Object
80 81 82 |
# File 'lib/locomotive/steam/entities/content_type_field.rb', line 80 def name self[:name] end |