Exception: Od::Payments::CardError
- Inherits:
-
OdPaymentsError
- Object
- StandardError
- OdPaymentsError
- Od::Payments::CardError
- Defined in:
- lib/od/payments/errors.rb
Instance Attribute Summary collapse
-
#param ⇒ Object
readonly
Returns the value of attribute param.
Attributes inherited from OdPaymentsError
#code, #error, #http_body, #http_headers, #http_status, #json_body, #message, #request_id, #response
Instance Method Summary collapse
-
#initialize(message, param, code: nil, http_status: nil, http_body: nil, json_body: nil, http_headers: nil) ⇒ CardError
constructor
A new instance of CardError.
Methods inherited from OdPaymentsError
#construct_error_object, #idempotent_replayed?, #to_s
Constructor Details
#initialize(message, param, code: nil, http_status: nil, http_body: nil, json_body: nil, http_headers: nil) ⇒ CardError
Returns a new instance of CardError.
50 51 52 53 54 55 56 |
# File 'lib/od/payments/errors.rb', line 50 def initialize(, param, code: nil, http_status: nil, http_body: nil, json_body: nil, http_headers: nil) super(, http_status: http_status, http_body: http_body, json_body: json_body, http_headers: http_headers, code: code) @param = param end |
Instance Attribute Details
#param ⇒ Object (readonly)
Returns the value of attribute param.
48 49 50 |
# File 'lib/od/payments/errors.rb', line 48 def param @param end |