Class: Cohere::Transcribe::State::OutputLockTarget

Inherits:
Data
  • Object
show all
Defined in:
lib/cohere/transcribe/state/locking.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#identityObject (readonly)

Returns the value of attribute identity

Returns:

  • (Object)

    the current value of identity



13
14
15
# File 'lib/cohere/transcribe/state/locking.rb', line 13

def identity
  @identity
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



13
14
15
# File 'lib/cohere/transcribe/state/locking.rb', line 13

def path
  @path
end

Instance Method Details

#sort_keyObject



14
15
16
# File 'lib/cohere/transcribe/state/locking.rb', line 14

def sort_key
  [path.to_s.downcase, identity.downcase]
end