Class: Remit::Refund::Request

Inherits:
Remit::Request show all
Defined in:
lib/remit2/operations/refund.rb

Instance Method Summary collapse

Methods inherited from Remit::Request

action

Instance Method Details

#convert_complex_key(key, parameter) ⇒ Object

The RefundAmount parameter has multiple components. It is specified on the query string like so: RefundAmount.Amount=XXX&RefundAmount.CurrencyCode=YYY



14
15
16
# File 'lib/remit2/operations/refund.rb', line 14

def convert_complex_key(key, parameter)
  "#{convert_key(key).to_s}.#{convert_key(parameter).to_s}"
end