Module: AuthorizedPersona::Persona
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/authorized_persona/persona.rb
Instance Method Summary collapse
Instance Method Details
#authorization_tier_at_or_above?(target_tier) ⇒ Boolean
79 80 81 82 |
# File 'lib/authorized_persona/persona.rb', line 79 def (target_tier) attr_name = public_send(self.class.) self.class.send(:authorization_tier_level, attr_name) >= self.class.send(:authorization_tier_level, target_tier) end |