Class: Heartcheck::Checks::Paypal
- Inherits:
-
Base
- Object
- Base
- Heartcheck::Checks::Paypal
- Includes:
- PayPal::SDK::REST
- Defined in:
- lib/heartcheck/checks/paypal.rb
Instance Method Summary collapse
Instance Method Details
#validate ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/heartcheck/checks/paypal.rb', line 8 def validate services.each do |service| configure_paypal_api(service) if change_configs?(service) unless create_payment(service) @errors << @payment.error end rescue StandardError => e @errors << e. end end |