Class: WCC::Contentful::Event::DeletedEntry
- Inherits:
-
Object
- Object
- WCC::Contentful::Event::DeletedEntry
- Includes:
- WCC::Contentful::Event
- Defined in:
- lib/wcc/contentful/event.rb
Instance Method Summary collapse
Methods included from WCC::Contentful::Event
Instance Method Details
#content_type ⇒ Object
106 107 108 |
# File 'lib/wcc/contentful/event.rb', line 106 def content_type raw.dig('sys', 'contentType', 'sys', 'id') end |
#deleted_at ⇒ Object
102 103 104 |
# File 'lib/wcc/contentful/event.rb', line 102 def deleted_at raw.dig('sys', 'deletedAt') end |
#entry ⇒ Object
110 111 112 |
# File 'lib/wcc/contentful/event.rb', line 110 def entry @entry ||= WCC::Contentful::Model.new_from_raw(raw, sys.context) end |