module Decidim::ActsAsAuthor

This concern contains the logic related to being an author.

it mainly declares abstract methods to be implemented by artifacts including it in its inheritance hierarchy.

Public Instance Methods

presenter() click to toggle source

Authors of Authorables must provide its presenters.

Return: The presenter for the current author.

# File lib/decidim/acts_as_author.rb, line 16
def presenter
  raise NotImlementedError, "Authors must return an instance of its Presenter via this method."
end