Module: Interfacets::Shared::Entities::Specs::Acceptable
- Included in:
- Accessor, Action, Association
- Defined in:
- lib/interfacets/shared/entities/specs.rb
Instance Method Summary collapse
Instance Method Details
#accepted_by?(role) ⇒ Boolean
16 17 18 |
# File 'lib/interfacets/shared/entities/specs.rb', line 16 def accepted_by?(role) standardized_accepted_by == ANY || standardized_accepted_by.include?(role) end |