Class: Cohere::Transcribe::State::CheckpointRestore
- Inherits:
-
Data
- Object
- Data
- Cohere::Transcribe::State::CheckpointRestore
- Defined in:
- lib/cohere/transcribe/state/checkpoint.rb
Instance Attribute Summary collapse
-
#checkpoint ⇒ Object
readonly
Returns the value of attribute checkpoint.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
Instance Attribute Details
#checkpoint ⇒ Object (readonly)
Returns the value of attribute 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
25 26 27 |
# File 'lib/cohere/transcribe/state/checkpoint.rb', line 25 def reason @reason end |
Instance Method Details
#restored? ⇒ Boolean
26 27 28 |
# File 'lib/cohere/transcribe/state/checkpoint.rb', line 26 def restored? !checkpoint.nil? end |