Class: Decidim::Assemblies::AssemblyType

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

Overview

This type represents a assembly.

Instance Method Summary collapse

Instance Method Details


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

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

#hero_imageObject


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

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