class WCC::Contentful::Event::Entry

Public Instance Methods

content_type() click to toggle source
# File lib/wcc/contentful/event.rb, line 76
def content_type
  raw.dig('sys', 'contentType', 'sys', 'id')
end
entry() click to toggle source
# File lib/wcc/contentful/event.rb, line 80
def entry
  @entry ||= WCC::Contentful::Model.new_from_raw(raw, sys.context)
end