Sha256: 00ebd1d6d68d3326fee974e71b385621c96ca522e86fac861380567d5735eb48
Contents?: true
Size: 601 Bytes
Versions: 6
Compression:
Stored size: 601 Bytes
Contents
require_relative '../service' module Adyen class TerminalsTerminalLevelApi < Service attr_accessor :service, :version def initialize(client, version = DEFAULT_VERSION) super(client, version, 'Management') end def list_terminals(headers: {}, query_params: {}) endpoint = '/terminals'.gsub(/{.+?}/, '%s') endpoint = endpoint.gsub(%r{^/}, '') endpoint = format(endpoint) endpoint += create_query_string(query_params) action = { method: 'get', url: endpoint } @client.call_adyen_api(@service, action, {}, headers, @version) end end end
Version data entries
6 entries across 6 versions & 1 rubygems