Module: RockRMS::Client::Gateway

Included in:
RockRMS::Client
Defined in:
lib/rock_rms/resources/gateway.rb

Constant Summary collapse

PATH =
'FinancialGateways'.freeze

Instance Method Summary collapse

Instance Method Details

#delete_gateway(id) ⇒ Object



11
12
13
# File 'lib/rock_rms/resources/gateway.rb', line 11

def delete_gateway(id)
  delete(gateway_path(id))
end

#list_gateways(options = {}) ⇒ Object



6
7
8
9
# File 'lib/rock_rms/resources/gateway.rb', line 6

def list_gateways(options = {})
  res = get(gateway_path, options)
  Response::Gateway.format(res)
end