yahoo_finance_currency 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +7 -0
- data/README.md +4 -4
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
Yahoo Currency
|
2
2
|
===============
|
3
3
|
|
4
|
-
This gem extends Money::Bank::VariableExchange with Money::Bank::
|
4
|
+
This gem extends Money::Bank::VariableExchange with Money::Bank::YahooFinanceCurrency
|
5
5
|
and gives you access to the current Yahoo! Finance exchange rates.
|
6
6
|
|
7
7
|
Usage
|
8
8
|
-----
|
9
9
|
|
10
10
|
require 'money'
|
11
|
-
require 'money/bank/
|
11
|
+
require 'money/bank/yahoo_finance_currency'
|
12
12
|
|
13
|
-
# set default bank to instance of
|
14
|
-
Money.default_bank = Money::Bank::
|
13
|
+
# set default bank to instance of YahooFinanceCurrency
|
14
|
+
Money.default_bank = Money::Bank::YahooFinanceCurrency.new
|
15
15
|
|
16
16
|
# create a new money object, and use the standard #exchange_to method
|
17
17
|
n = 1.to_money(:USD)
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Vicent Gozalbes
|
@@ -64,7 +64,7 @@ files:
|
|
64
64
|
- README.md
|
65
65
|
- CHANGELOG.md
|
66
66
|
has_rdoc: true
|
67
|
-
homepage: https://github.com/peertransfer/
|
67
|
+
homepage: https://github.com/peertransfer/yahoo_finance_currency
|
68
68
|
licenses: []
|
69
69
|
|
70
70
|
post_install_message:
|