Exception: Seekmodo::Sdk::Storefront::Transport::ServerError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Seekmodo::Sdk::Storefront::Transport::ServerError
- 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) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(status, body, tool) ⇒ ServerError
Returns a new instance of ServerError.
170 171 172 173 174 |
# File 'lib/seekmodo/sdk/storefront/transport.rb', line 170 def initialize(status, body, tool) @status = status @body = body super(tool) end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
168 169 170 |
# File 'lib/seekmodo/sdk/storefront/transport.rb', line 168 def body @body end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
168 169 170 |
# File 'lib/seekmodo/sdk/storefront/transport.rb', line 168 def status @status end |