Class: Remit::Refund::Request
- Inherits:
-
Remit::Request
- Object
- Relax::Request
- Remit::Request
- Remit::Refund::Request
- Defined in:
- lib/remit/operations/refund.rb
Instance Method Summary collapse
-
#convert_complex_key(key, parameter) ⇒ Object
The RefundAmount parameter has multiple components.
Methods inherited from Remit::Request
Methods included from ConvertKey
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
29 30 31 |
# File 'lib/remit/operations/refund.rb', line 29 def convert_complex_key(key, parameter) "#{convert_key(key)}.#{convert_key(parameter)}" end |