Module: Ronin::Model::HasAuthors::InstanceMethods
- Defined in:
- lib/ronin/model/has_authors.rb
Overview
Instance methods that are added when Ronin::Model::HasAuthors is included into a model.
Instance Method Summary collapse
-
#author(attributes) ⇒ Object
Adds a new author to the resource.
Instance Method Details
#author(attributes) ⇒ Object
Adds a new author to the resource.
105 106 107 |
# File 'lib/ronin/model/has_authors.rb', line 105 def (attributes) self..new(attributes) end |