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