Sha256: b8f8cc8b5f279b7eaca707594ae325c2531a7e5b3df19d2210a29af7fb1430ab
Contents?: true
Size: 692 Bytes
Versions: 7
Compression:
Stored size: 692 Bytes
Contents
= Authorship Regarging authorship of Decidim resources/entities, there are three concerns involved directly: * `Decidim::ActsAsAuthor`: which defines how an author should behave. * `Decidim::Authorable` and `Decidim::Coauthorable`: which define the behaviour around who authored a resource. But the presenters for the classes including `ActsAsAuthor` should also behave in a certain maneer. This has been resolved using the duck typing strategy (remember, if it quaks as as duck, then it is a duck). Thus, there is not any interface declaring which are the methods to be implemented by the presenter of an author. Anyway one of the ``OfficialAuthorPresenter``s may be used as a reference.
Version data entries
7 entries across 7 versions & 1 rubygems