Sha256: addb21f712f4bd48da83172d311c97e481690adcfa969b1f8eab74439c5c7fa3
Contents?: true
Size: 457 Bytes
Versions: 2
Compression:
Stored size: 457 Bytes
Contents
module Transferwise class BorderlessAccount < APIResource def self.collection_url(resource_id = nil) "#{API_VERSION}/borderless-accounts" end def self.convert(borderless_account_id, quote_id, headers) url = "/#{resource_url(borderless_account_id)}/conversions" params = { 'quoteId' => quote_id } response = Request.request(:post, url, params, headers) convert_to_transferwise_object(response) end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
transferwise-rb-0.3.0 | lib/transferwise/borderless_account.rb |
transferwise-0.2.6 | lib/transferwise/borderless_account.rb |