Class: Contentful::Entry
- Inherits:
-
FieldsResource
- Object
- BaseResource
- FieldsResource
- Contentful::Entry
- Includes:
- ResourceReferences
- Defined in:
- lib/contentful/entry.rb
Overview
Resource class for Entry.
Instance Attribute Summary
Attributes inherited from FieldsResource
Attributes inherited from BaseResource
Instance Method Summary collapse
-
#entry? ⇒ Boolean
Returns true for resources that are entries.
Methods included from ResourceReferences
Methods inherited from FieldsResource
#fields, #fields_with_locales, #initialize, #locales
Methods inherited from BaseResource
Constructor Details
This class inherits a constructor from Contentful::FieldsResource
Instance Method Details
#entry? ⇒ Boolean
Returns true for resources that are entries
12 13 14 |
# File 'lib/contentful/entry.rb', line 12 def entry? true end |