Exception: Maestrano::API::Error::InvalidRequestError
- Inherits:
-
BaseError
- Object
- StandardError
- BaseError
- Maestrano::API::Error::InvalidRequestError
- Defined in:
- lib/maestrano/api/error/invalid_request_error.rb
Instance Attribute Summary collapse
-
#param ⇒ Object
Returns the value of attribute param.
Attributes inherited from BaseError
#http_body, #http_status, #json_body, #message
Instance Method Summary collapse
-
#initialize(message, param, http_status = nil, http_body = nil, json_body = nil) ⇒ InvalidRequestError
constructor
A new instance of InvalidRequestError.
Methods inherited from BaseError
Constructor Details
#initialize(message, param, http_status = nil, http_body = nil, json_body = nil) ⇒ InvalidRequestError
Returns a new instance of InvalidRequestError.
7 8 9 10 |
# File 'lib/maestrano/api/error/invalid_request_error.rb', line 7 def initialize(, param, http_status=nil, http_body=nil, json_body=nil) super(, http_status, http_body, json_body) @param = param end |
Instance Attribute Details
#param ⇒ Object
Returns the value of attribute param.
5 6 7 |
# File 'lib/maestrano/api/error/invalid_request_error.rb', line 5 def param @param end |