Class: Stoplight::Infrastructure::Memory::DataStore::RecoveryLockToken

Inherits:
Object
  • Object
show all
Defined in:
lib/stoplight/infrastructure/memory/data_store/recovery_lock_token.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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