Exception: EbanxApiException
- Inherits:
-
StandardError
- Object
- StandardError
- EbanxApiException
- Defined in:
- lib/ebanx/exception/ebanx_api_exception.rb
Instance Attribute Summary collapse
-
#http_code ⇒ Object
Returns the value of attribute http_code.
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response, http_code) ⇒ EbanxApiException
constructor
A new instance of EbanxApiException.
Constructor Details
#initialize(message, response, http_code) ⇒ EbanxApiException
Returns a new instance of EbanxApiException.
4 5 6 7 8 |
# File 'lib/ebanx/exception/ebanx_api_exception.rb', line 4 def initialize(, response, http_code) super() @response = response @http_code = http_code end |
Instance Attribute Details
#http_code ⇒ Object
Returns the value of attribute http_code.
2 3 4 |
# File 'lib/ebanx/exception/ebanx_api_exception.rb', line 2 def http_code @http_code end |
#response ⇒ Object
Returns the value of attribute response.
2 3 4 |
# File 'lib/ebanx/exception/ebanx_api_exception.rb', line 2 def response @response end |