Class: Decidim::Assemblies::AssemblyType

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

Overview

This type represents an Assembly.

Instance Method Summary collapse

Instance Method Details



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

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

#hero_imageObject



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

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