Class: Locomotive::Wagon::ContentEntryWithLocalizedAttributesDecorator
- Inherits:
-
ContentEntryDecorator
- Object
- Steam::Decorators::I18nDecorator
- ContentEntryDecorator
- Locomotive::Wagon::ContentEntryWithLocalizedAttributesDecorator
- Defined in:
- lib/locomotive/wagon/decorators/content_entry_decorator.rb
Constant Summary
Constants inherited from ContentEntryDecorator
Locomotive::Wagon::ContentEntryDecorator::DEFAULT_ATTRIBUTES
Instance Attribute Summary
Attributes inherited from ContentEntryDecorator
#__base_path__, #__content_assets_pusher__
Instance Method Summary collapse
Methods inherited from ContentEntryDecorator
#_id, #_id=, #decorate_date_field, #decorate_date_time_field, #decorate_file_field, #decorate_json_field, #decorate_text_field, #initialize, #method_missing, #to_hash
Methods included from PersistAssetsConcern
#asset_io, #replace_with_content_assets!, #replace_with_content_assets_in_hash!
Methods included from ToHashConcern
#prepare_value_for_hash, #to_hash
Constructor Details
This class inherits a constructor from Locomotive::Wagon::ContentEntryDecorator
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Locomotive::Wagon::ContentEntryDecorator
Instance Method Details
#__attributes__ ⇒ Object
82 83 84 |
# File 'lib/locomotive/wagon/decorators/content_entry_decorator.rb', line 82 def __attributes__ %i(_slug) + fields.localized_names(include_select_field_id: false) end |