Class: Decidim::Consultations::ConsultationType

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

Overview

This type represents a consultation.

Instance Method Summary collapse

Instance Method Details



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

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

#introductory_imageObject



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

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