Class: Decidim::ParticipatoryProcesses::ParticipatoryProcessType

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

Overview

This type represents a ParticipatoryProcess.

Instance Method Summary collapse

Instance Method Details


49
50
51
# File 'decidim-participatory_processes/lib/decidim/api/participatory_process_type.rb', line 49

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

#hero_imageObject


53
54
55
# File 'decidim-participatory_processes/lib/decidim/api/participatory_process_type.rb', line 53

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