Class: CommandTower::Impersonation::EstablishedIdentity
- Inherits:
-
Data
- Object
- Data
- CommandTower::Impersonation::EstablishedIdentity
- Defined in:
- lib/command_tower/impersonation/establish_identity.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
readonly
Returns the value of attribute actor.
-
#session ⇒ Object
readonly
Returns the value of attribute session.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
Instance Attribute Details
#actor ⇒ Object (readonly)
Returns the value of attribute actor
5 6 7 |
# File 'lib/command_tower/impersonation/establish_identity.rb', line 5 def actor @actor end |
#session ⇒ Object (readonly)
Returns the value of attribute session
5 6 7 |
# File 'lib/command_tower/impersonation/establish_identity.rb', line 5 def session @session end |
#status ⇒ Object (readonly)
Returns the value of attribute status
5 6 7 |
# File 'lib/command_tower/impersonation/establish_identity.rb', line 5 def status @status end |
#user ⇒ Object (readonly)
Returns the value of attribute user
5 6 7 |
# File 'lib/command_tower/impersonation/establish_identity.rb', line 5 def user @user end |
Instance Method Details
#active? ⇒ Boolean
10 11 12 |
# File 'lib/command_tower/impersonation/establish_identity.rb', line 10 def active? status == :active end |
#expired? ⇒ Boolean
6 7 8 |
# File 'lib/command_tower/impersonation/establish_identity.rb', line 6 def expired? status == :expired end |