Class: Decidim::Assemblies::AssemblyType

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

Overview

This type represents a assembly.

Instance Method Summary collapse

Instance Method Details



68
69
70
# File 'lib/decidim/api/assembly_type.rb', line 68

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

#hero_imageObject



64
65
66
# File 'lib/decidim/api/assembly_type.rb', line 64

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