Class: Contentful::Management::DynamicEntry
- Defined in:
- lib/contentful/management/dynamic_entry.rb
Overview
Wrapper for Entries with Cached Content Types
Constant Summary collapse
- KNOWN_TYPES =
Coercions from Contentful Types to Ruby native types
{ 'String' => :string, 'Text' => :string, 'Symbol' => :string, 'Integer' => :integer, 'Float' => :float, 'Boolean' => :boolean, 'Date' => :date, 'Location' => Location }.freeze
Instance Attribute Summary
Attributes inherited from Entry
Attributes included from Resource::SystemProperties
Attributes included from Resource::Metadata
Attributes included from Resource
#client, #properties, #raw_object, #request
Method Summary
Methods inherited from Entry
fields_with_locale, #locale, #references, #snapshots
Methods included from Resource::EntryFields
Methods included from Resource::EnvironmentAware
Methods included from Resource::Refresher
Methods included from Resource::Publisher
#publish, #published?, #unpublish, #updated?
Methods included from Resource::Archiver
#archive, #archived?, #unarchive
Methods included from Resource::Fields
Methods included from Resource
#array?, #default_locale, #destroy, #environment_id, #fields, #nested_locale_fields?, #resource?, #save, #sys, #update
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Contentful::Management::Entry