module Revolut::Clients::Exchanges

Revolut Exchanges

Public Instance Methods

exchange(params = {}) click to toggle source
# File lib/revolut/clients/exchanges.rb, line 11
def exchange(params = {})
  connection.post('exchange', params)
end
exchange_rate(from:, to:, amount:) click to toggle source
# File lib/revolut/clients/exchanges.rb, line 7
def exchange_rate(from:, to:, amount:)
  connection.get('rate', from: from, to: to, amount: amount)
end