Class: Decidim::Conferences::ConferenceType
- Inherits:
-
Api::Types::BaseObject
- Object
- Api::Types::BaseObject
- Decidim::Conferences::ConferenceType
- Defined in:
- lib/decidim/api/conference_type.rb
Overview
This type represents a conference.
Instance Method Summary collapse
Instance Method Details
#banner_image ⇒ Object
45 46 47 |
# File 'lib/decidim/api/conference_type.rb', line 45 def object.attached_uploader(:banner_image).url end |
#hero_image ⇒ Object
41 42 43 |
# File 'lib/decidim/api/conference_type.rb', line 41 def hero_image object.attached_uploader(:hero_image).url end |
#speakers ⇒ Object
49 50 51 |
# File 'lib/decidim/api/conference_type.rb', line 49 def speakers object.speakers.published end |