Class: Decidim::Coauthorship
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Decidim::Coauthorship
- Includes:
- Authorable
- Defined in:
- app/models/decidim/coauthorship.rb
Instance Method Summary collapse
- #identity ⇒ Object
-
#mapped_resource_type ⇒ String
Reports the mapped resource type for authorization transfers.
Methods included from TranslatableAttributes
Instance Method Details
#identity ⇒ Object
11 12 13 |
# File 'app/models/decidim/coauthorship.rb', line 11 def identity user_group || end |
#mapped_resource_type ⇒ String
Reports the mapped resource type for authorization transfers.
18 19 20 |
# File 'app/models/decidim/coauthorship.rb', line 18 def mapped_resource_type end |