Class: Decidim::Conferences::ConferenceType

Inherits:
Api::Types::BaseObject
  • Object
show all
Defined in:
lib/decidim/api/conference_type.rb

Overview

This type represents a conference.

Instance Method Summary collapse

Instance Method Details



45
46
47
# File 'lib/decidim/api/conference_type.rb', line 45

def banner_image
  object.attached_uploader(:banner_image).url
end

#hero_imageObject



41
42
43
# File 'lib/decidim/api/conference_type.rb', line 41

def hero_image
  object.attached_uploader(:hero_image).url
end

#speakersObject



49
50
51
# File 'lib/decidim/api/conference_type.rb', line 49

def speakers
  object.speakers.published
end