Class: Decidim::Consultations::ConsultationType

Inherits:
Api::Types::BaseObject show all
Defined in:
decidim-consultations/lib/decidim/api/consultation_type.rb

Overview

This type represents a consultation.

Instance Method Summary collapse

Instance Method Details


32
33
34
# File 'decidim-consultations/lib/decidim/api/consultation_type.rb', line 32

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

#introductory_imageObject


28
29
30
# File 'decidim-consultations/lib/decidim/api/consultation_type.rb', line 28

def introductory_image
  object.attached_uploader(:introductory_image).path
end