Exception: Fakturoid::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- Fakturoid::ApiError
- Defined in:
- lib/fakturoid.rb
Direct Known Subclasses
AuthenticationError, ClientError, ConfigurationError, OauthError, ServerError
Instance Attribute Summary collapse
-
#response_body ⇒ Object
Returns the value of attribute response_body.
-
#response_code ⇒ Object
Returns the value of attribute response_code.
Instance Method Summary collapse
-
#initialize(message = nil, response_code = nil, response_body = nil) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(message = nil, response_code = nil, response_body = nil) ⇒ ApiError
Returns a new instance of ApiError.
22 23 24 25 26 |
# File 'lib/fakturoid.rb', line 22 def initialize( = nil, response_code = nil, response_body = nil) super() self.response_code = response_code self.response_body = response_body end |
Instance Attribute Details
#response_body ⇒ Object
Returns the value of attribute response_body.
20 21 22 |
# File 'lib/fakturoid.rb', line 20 def response_body @response_body end |
#response_code ⇒ Object
Returns the value of attribute response_code.
20 21 22 |
# File 'lib/fakturoid.rb', line 20 def response_code @response_code end |