Class: Interpret::Ability
- Inherits:
-
Object
- Object
- Interpret::Ability
- Includes:
- CanCan::Ability
- Defined in:
- app/models/interpret/ability.rb
Instance Method Summary collapse
-
#initialize(user) ⇒ Ability
constructor
A new instance of Ability.
Constructor Details
#initialize(user) ⇒ Ability
Returns a new instance of Ability.
5 6 7 |
# File 'app/models/interpret/ability.rb', line 5 def initialize(user) can :manage, :all end |