Class: Contentful::Entry

Inherits:
FieldsResource show all
Defined in:
lib/contentful/entry.rb

Overview

Resource class for Entry.

See Also:

  • https://www.contentful.com/developers/documentation/content-delivery-api/#entries

Instance Attribute Summary

Attributes inherited from BaseResource

#default_locale, #raw, #sys

Instance Method Summary collapse

Methods inherited from FieldsResource

#fields, #fields_with_locales, #initialize, #locales

Methods inherited from BaseResource

#==, #initialize, #reload

Constructor Details

This class inherits a constructor from Contentful::FieldsResource

Instance Method Details

#entry?Boolean

Returns true for resources that are entries

Returns:

  • (Boolean)


9
10
11
# File 'lib/contentful/entry.rb', line 9

def entry?
  true
end