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

Inherits:
Object
  • Object
show all
Includes:
Domain::_RecoveryLockToken
Defined in:
lib/stoplight/infrastructure/memory/data_store/recovery_lock_token.rb,
sig/_private/stoplight/infrastructure/memory/data_store/recovery_lock_token.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(light_name:) ⇒ RecoveryLockToken

Returns a new instance of RecoveryLockToken.

Parameters:

  • light_name: (String)


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_nameString (readonly)

Returns the value of attribute light_name.

Returns:

  • (String)


8
9
10
# File 'lib/stoplight/infrastructure/memory/data_store/recovery_lock_token.rb', line 8

def light_name
  @light_name
end