Exception: PaypalAdaptivePaymentsApiError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/active_merchant/billing/gateways/paypal_adaptive_payments/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (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

#debugObject



12
13
14
# File 'lib/active_merchant/billing/gateways/paypal_adaptive_payments/exceptions.rb', line 12

def debug
  @response.inspect
end