Class: Workato::Connector::Sdk::RequestFailedError
- Inherits:
-
RequestError
- Object
- Workato::Connector::Sdk::RequestFailedError
- Defined in:
- lib/workato/connector/sdk/errors.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message:, method:, code:, response:) ⇒ RequestFailedError
constructor
A new instance of RequestFailedError.
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() @method = method @code = code @response = response end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
90 91 92 |
# File 'lib/workato/connector/sdk/errors.rb', line 90 def code @code end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
89 90 91 |
# File 'lib/workato/connector/sdk/errors.rb', line 89 def method @method end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
91 92 93 |
# File 'lib/workato/connector/sdk/errors.rb', line 91 def response @response end |