Sha256: 3e387b3015e925539b64dd8235a3baced23c9edb6c2e92db690eeca72ee7440e

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

#!/usr/bin/env ruby

require 'fxer'

#
# fxer is a simple command line tool to exchange data
# using the default exchange rate data source and an
# optional local store. See more documentation in Fxer::Exchange,
# and in the README.
#

path = ENV['FXER_RATE_DATA_PATH']
opts = { :store => path }

exchanger = Fxer::Exchange.new(opts)
puts exchanger.convert_at_date(ARGV[0], ARGV[1], ARGV[2])

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fxer-0.1.0 exe/fxer