Class: Afterpay::API::Base
- Defined in:
- lib/afterpay/api/base.rb
Direct Known Subclasses
Configuration::Retrieve, Order::Create, Order::Find, Payment::Auth, Payment::Capture, Payment::DeferredCapture, Payment::Find, Payment::Refund, Payment::Reversal, Payment::Void
Instance Method Summary collapse
Methods inherited from Callable
Instance Method Details
#call ⇒ Object
12 13 14 15 16 |
# File 'lib/afterpay/api/base.rb', line 12 def call ::Afterpay::ErrorHandler.inspect(response) rescue ::Faraday::TimeoutError => e raise RequestTimeoutError.new(e.response_status), e. end |