Exception: PaypalAdaptivePaymentsApiError
- Inherits:
-
StandardError
- Object
- StandardError
- PaypalAdaptivePaymentsApiError
- Defined in:
- lib/active_merchant/billing/gateways/paypal_adaptive_payments/exceptions.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
- #debug ⇒ Object
-
#initialize(response) ⇒ PaypalAdaptivePaymentsApiError
constructor
A new instance of PaypalAdaptivePaymentsApiError.
Constructor Details
#initialize(response) ⇒ PaypalAdaptivePaymentsApiError
Returns a new instance of PaypalAdaptivePaymentsApiError.
8 9 10 |
# File 'lib/active_merchant/billing/gateways/paypal_adaptive_payments/exceptions.rb', line 8 def initialize response @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
6 7 8 |
# File 'lib/active_merchant/billing/gateways/paypal_adaptive_payments/exceptions.rb', line 6 def response @response end |
Instance Method Details
#debug ⇒ Object
12 13 14 |
# File 'lib/active_merchant/billing/gateways/paypal_adaptive_payments/exceptions.rb', line 12 def debug @response.inspect end |