Class: Fal::Status::Completed

Inherits:
Base
  • Object
show all
Defined in:
lib/fal/status.rb

Overview

Request has completed successfully

Instance Attribute Summary

Attributes inherited from Base

#raw_data

Instance Method Summary collapse

Methods inherited from Base

#in_progress?, #initialize, #queued?

Constructor Details

This class inherits a constructor from Fal::Status::Base

Instance Method Details

#completed?Boolean

Returns:

  • (Boolean)


58
59
60
# File 'lib/fal/status.rb', line 58

def completed?
  true
end

#logsObject



50
51
52
# File 'lib/fal/status.rb', line 50

def logs
  raw_data["logs"] || []
end

#metricsObject



54
55
56
# File 'lib/fal/status.rb', line 54

def metrics
  raw_data["metrics"] || {}
end