module Payments::Client::DefaultMiddleware

Public Instance Methods

call(*args) click to toggle source
Calls superclass method
# File lib/payments/client/operations/middleware.rb, line 4
def call(*args)
  with_default_middleware { super }
end

Private Instance Methods

with_default_middleware() { || ... } click to toggle source
# File lib/payments/client/operations/middleware.rb, line 8
        def with_default_middleware
  with_middleware(response: %i(mashify dates json)) do
    yield
  end
end