Class: Contentful::Management::DynamicEntry

Inherits:
Entry
  • Object
show all
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

#content_type

Attributes included from Resource::SystemProperties

#sys

Attributes included from Resource::Metadata

#_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

#fields_coercions

Methods included from Resource::EnvironmentAware

#environment_id

Methods included from Resource::Refresher

#reload

Methods included from Resource::Publisher

#publish, #published?, #unpublish, #updated?

Methods included from Resource::Archiver

#archive, #archived?, #unarchive

Methods included from Resource::Fields

#fields, included

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