Sha256: 93d4fca27333c24c4d79956df7031e4f882e3b9ab69d333f189f6756aa8b45ae
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 Bytes
Contents
module CurrencyCloud class Conversion include CurrencyCloud::Resource resource :conversions actions :create, :retrieve, :find def cancel(params = {}) attrs = client.post("#{id}/cancel", params) ConversionCancelResult.new(attrs) end def date_change(params) attrs = client.post("#{id}/date_change", params) ConversionDateChangeResult.new(attrs) end def split(params) attrs = client.post("#{id}/split", params) ConversionSplitResult.new(attrs) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
currency_cloud-0.10.0 | lib/currency_cloud/conversion.rb |