Exception: DkPaymentGateway::InvalidParameterError
- Defined in:
- lib/dk_payment_gateway/errors.rb
Instance Attribute Summary collapse
-
#response_code ⇒ Object
readonly
Returns the value of attribute response_code.
-
#response_detail ⇒ Object
readonly
Returns the value of attribute response_detail.
Instance Method Summary collapse
-
#initialize(message, response_code: nil, response_detail: nil) ⇒ InvalidParameterError
constructor
A new instance of InvalidParameterError.
Constructor Details
#initialize(message, response_code: nil, response_detail: nil) ⇒ InvalidParameterError
Returns a new instance of InvalidParameterError.
13 14 15 16 17 |
# File 'lib/dk_payment_gateway/errors.rb', line 13 def initialize(, response_code: nil, response_detail: nil) super() @response_code = response_code @response_detail = response_detail end |
Instance Attribute Details
#response_code ⇒ Object (readonly)
Returns the value of attribute response_code.
11 12 13 |
# File 'lib/dk_payment_gateway/errors.rb', line 11 def response_code @response_code end |
#response_detail ⇒ Object (readonly)
Returns the value of attribute response_detail.
11 12 13 |
# File 'lib/dk_payment_gateway/errors.rb', line 11 def response_detail @response_detail end |