Class: WCC::Contentful::Event::Asset
- Inherits:
-
Object
- Object
- WCC::Contentful::Event::Asset
- Includes:
- WCC::Contentful::Event
- Defined in:
- lib/wcc/contentful/event.rb
Instance Method Summary collapse
- #asset ⇒ Object (also: #entry)
- #content_type ⇒ Object
Methods included from WCC::Contentful::Event
Instance Method Details
#asset ⇒ Object Also known as: entry
92 93 94 |
# File 'lib/wcc/contentful/event.rb', line 92 def asset @asset ||= WCC::Contentful::Model.new_from_raw(raw, sys.context) end |
#content_type ⇒ Object
88 89 90 |
# File 'lib/wcc/contentful/event.rb', line 88 def content_type 'Asset' end |