Class: Decidim::Initiatives::InitiativeApiType

Inherits:
Api::Types::BaseObject show all
Defined in:
decidim-initiatives/lib/decidim/api/initiative_api_type.rb

Instance Method Summary collapse

Instance Method Details


25
26
27
# File 'decidim-initiatives/lib/decidim/api/initiative_api_type.rb', line 25

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