Exception: VerifyVspClient::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- VerifyVspClient::ResponseError
- Defined in:
- lib/verify_vsp_client/response_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(message, code) ⇒ ResponseError
5 6 7 8 |
# File 'lib/verify_vsp_client/response_error.rb', line 5 def initialize(, code) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
3 4 5 |
# File 'lib/verify_vsp_client/response_error.rb', line 3 def code @code end |