Sha256: f5030db29c10b9f293808f400972dc5cc33ef46648c65bbca8e7cfff1c4f7058
Contents?: true
Size: 591 Bytes
Versions: 22
Compression:
Stored size: 591 Bytes
Contents
require_relative './service' module Adyen class BalanceControlService < Service attr_accessor :service, :version DEFAULT_VERSION = 1 def initialize(client, version = DEFAULT_VERSION) super(client, version, 'BalanceControlService') end def balance_transfer(request, headers: {}) endpoint = '/balanceTransfer'.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
22 entries across 22 versions & 1 rubygems