Class: Stoplight::Infrastructure::Memory::DataStore::RecoveryLockToken
- Inherits:
-
Object
- Object
- Stoplight::Infrastructure::Memory::DataStore::RecoveryLockToken
- Defined in:
- lib/stoplight/infrastructure/memory/data_store/recovery_lock_token.rb
Instance Attribute Summary collapse
-
#light_name ⇒ Object
readonly
Returns the value of attribute light_name.
Instance Method Summary collapse
-
#initialize(light_name:) ⇒ RecoveryLockToken
constructor
A new instance of RecoveryLockToken.
Constructor Details
#initialize(light_name:) ⇒ RecoveryLockToken
Returns a new instance of RecoveryLockToken.
10 11 12 |
# File 'lib/stoplight/infrastructure/memory/data_store/recovery_lock_token.rb', line 10 def initialize(light_name:) @light_name = light_name end |
Instance Attribute Details
#light_name ⇒ Object (readonly)
Returns the value of attribute light_name.
8 9 10 |
# File 'lib/stoplight/infrastructure/memory/data_store/recovery_lock_token.rb', line 8 def light_name @light_name end |