Class: Roseflow::StabilityAI::Responses::ErrorResponse

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/roseflow/stabilityai/responses/error_response.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from(code: nil, operation: nil, body: nil) ⇒ Object

TODO: Implement this method



19
20
# File 'lib/roseflow/stabilityai/responses/error_response.rb', line 19

def self.from(code: nil, operation: nil, body: nil)
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/roseflow/stabilityai/responses/error_response.rb', line 14

def success?
  false
end