Class: Contentful::DynamicEntry

Inherits:
Entry
  • Object
show all
Defined in:
lib/contentful/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
}

Instance Attribute Summary

Attributes included from Resource::SystemProperties

#sys

Attributes included from Resource

#client, #default_locale, #properties, #raw, #request

Method Summary

Methods included from Resource::Fields

#fields, #fields_with_locales

Methods included from Resource

#array?, #fields, #localized?, #reload, #sys