Sha256: d0d81b9eac3004146e5533ac73a87daffa6a94ee1c356a9aa927f36b79edbf56
Contents?: true
Size: 539 Bytes
Versions: 6
Compression:
Stored size: 539 Bytes
Contents
require_relative '../service' module Adyen class TransfersApi < Service attr_accessor :service, :version def initialize(client, version = DEFAULT_VERSION) super(client, version, 'Transfers') end def transfer_funds(request, headers: {}) endpoint = '/transfers'.gsub(/{.+?}/, '%s') endpoint = endpoint.gsub(%r{^/}, '') endpoint = format(endpoint) action = { method: 'post', url: endpoint } @client.call_adyen_api(@service, action, request, headers, @version) end end end
Version data entries
6 entries across 6 versions & 1 rubygems