Exception: Seekmodo::Sdk::Storefront::Transport::RequestError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Seekmodo::Sdk::Storefront::Transport::RequestError
- Defined in:
- lib/seekmodo/sdk/storefront/transport.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(status, body, tool) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(status, body, tool) ⇒ RequestError
Returns a new instance of RequestError.
180 181 182 183 184 |
# File 'lib/seekmodo/sdk/storefront/transport.rb', line 180 def initialize(status, body, tool) @status = status @body = body super(tool) end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
178 179 180 |
# File 'lib/seekmodo/sdk/storefront/transport.rb', line 178 def body @body end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
178 179 180 |
# File 'lib/seekmodo/sdk/storefront/transport.rb', line 178 def status @status end |