Skip to content

Instantly share code, notes, and snippets.

@esshka
Created April 14, 2016 09:23
Show Gist options
  • Save esshka/2945f846c24178e60ad41147b33071ed to your computer and use it in GitHub Desktop.
Save esshka/2945f846c24178e60ad41147b33071ed to your computer and use it in GitHub Desktop.
[101] pry(main)> h = {date: Date.parse("06.04.2016"), sourceCurrency: "USD", targetCurrency: "EUR"}
=> {:date=>Wed, 06 Apr 2016, :sourceCurrency=>"USD", :targetCurrency=>"EUR"}
[102] pry(main)> result = client.call(:get_currency_rates, message: { :getCurrencyRates => [h,h] })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment