Sha256: 96936d3d2bfd1e272931472bb09662f5c7d51f4484d17e38c3d499040e225c64
Contents?: true
Size: 403 Bytes
Versions: 49
Compression:
Stored size: 403 Bytes
Contents
module RockRMS class Client module Gateway PATH = 'FinancialGateways'.freeze def list_gateways(options = {}) res = get(gateway_path, options) Response::Gateway.format(res) end def delete_gateway(id) delete(gateway_path(id)) end private def gateway_path(id = nil) id ? "#{PATH}/#{id}" : PATH end end end end
Version data entries
49 entries across 49 versions & 1 rubygems