Class: ContentfulLite::DeletedEntry

Inherits:
Entry
  • Object
show all
Defined in:
lib/contentful_lite/deleted_entry.rb

Instance Attribute Summary

Attributes inherited from Entry

#content_type_id

Attributes included from CommonData

#created_at, #default_locale, #environment_id, #id, #locales, #localized_fields, #retrieved_at, #revision, #space_id, #sys, #updated_at

Instance Method Summary collapse

Methods inherited from Entry

field_reader, #initialize

Methods included from Validations::Entry

#errors_for_all_locales, #valid_for_all_locales?, validates_included_asset, validates_included_entry

Methods included from CommonData

#as_json, #fields, #initialize, #locale, #locale=, #to_link, #with_locale

Constructor Details

This class inherits a constructor from ContentfulLite::Entry

Instance Method Details

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Not implemented, provided for compatibility reasons

Raises:

  • NotImplementedError



6
7
8
# File 'lib/contentful_lite/deleted_entry.rb', line 6

def contentful_link
  raise NotImplementedError.new('contentful_link is not available for deleted entries')
end