Class: Railjet::Auth::Ability
- Inherits:
-
Object
- Object
- Railjet::Auth::Ability
- Defined in:
- lib/railjet/auth/ability.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
readonly
Returns the value of attribute actor.
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
Instance Method Summary collapse
-
#initialize(actor, settings) ⇒ Ability
constructor
A new instance of Ability.
Constructor Details
#initialize(actor, settings) ⇒ Ability
Returns a new instance of Ability.
6 7 8 9 10 11 |
# File 'lib/railjet/auth/ability.rb', line 6 def initialize(actor, settings) @actor = actor @settings = settings @activities = {} end |
Instance Attribute Details
#actor ⇒ Object (readonly)
Returns the value of attribute actor.
4 5 6 |
# File 'lib/railjet/auth/ability.rb', line 4 def actor @actor end |
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
4 5 6 |
# File 'lib/railjet/auth/ability.rb', line 4 def settings @settings end |