Class: Cohere::Transcribe::State::CheckpointRestore

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#checkpoint ⇒ Object (readonly)

Returns the value of attribute checkpoint

Returns:

  • (Object) —

    the current value of checkpoint



25
26
27
# File 'lib/cohere/transcribe/state/checkpoint.rb', line 25

def checkpoint
  @checkpoint
end

#reason ⇒ Object (readonly)

Returns the value of attribute reason

Returns:

  • (Object) —

    the current value of reason



25
26
27
# File 'lib/cohere/transcribe/state/checkpoint.rb', line 25

def reason
  @reason
end

Instance Method Details

#restored? ⇒ Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/cohere/transcribe/state/checkpoint.rb', line 26

def restored?
  !checkpoint.nil?
end