Module: Decidim::Core::EndorsableInterface
- Includes:
- Api::Types::BaseInterface
- Defined in:
- lib/decidim/api/interfaces/endorsable_interface.rb
Overview
This interface represents an object capable of endorsements.
Instance Method Summary collapse
Instance Method Details
#endorsements ⇒ Object
12 13 14 |
# File 'lib/decidim/api/interfaces/endorsable_interface.rb', line 12 def endorsements object.endorsements.map(&:normalized_author) end |