Class: Workato::Connector::Sdk::RequestFailedError

Inherits:
RequestError
  • Object
show all
Defined in:
lib/workato/connector/sdk/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message:, method:, code:, response:) ⇒ RequestFailedError



93
94
95
96
97
98
# File 'lib/workato/connector/sdk/errors.rb', line 93

def initialize(message:, method:, code:, response:)
  super(message)
  @method = method
  @code = code
  @response = response
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



90
91
92
# File 'lib/workato/connector/sdk/errors.rb', line 90

def code
  @code
end

#methodObject (readonly)

Returns the value of attribute method.



89
90
91
# File 'lib/workato/connector/sdk/errors.rb', line 89

def method
  @method
end

#responseObject (readonly)

Returns the value of attribute response.



91
92
93
# File 'lib/workato/connector/sdk/errors.rb', line 91

def response
  @response
end