Module: Roles::Organization
- Extended by:
- ActiveSupport::Concern
- Included in:
- AttributionCopyrightHolder, AttributionOwner, Determiner
- Defined in:
- app/models/concerns/roles/organization.rb
Instance Method Summary collapse
Instance Method Details
#organization_allowed? ⇒ Boolean
14 15 16 |
# File 'app/models/concerns/roles/organization.rb', line 14 def organization_allowed? true end |
#organization_role? ⇒ Boolean (protected)
20 21 22 |
# File 'app/models/concerns/roles/organization.rb', line 20 def organization_role? organization.present? && !person end |