open_exchange_rates_conversion 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/open_exchange_rates_conversion.rb +1 -1
- data/open_exchange_rates_conversion.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cad0953de4e0268916c51b42709edffec8653fe8
|
4
|
+
data.tar.gz: 4895ff945b3082e9f37ad72e463ad2c098e6b279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc292b92bcc1e84e56f24efb7695154f1c0bd18e5b3d21606dfa1b9305019251c11ff0bc374f7eb2d32982cacfd5e37c75acfa1873157ab5e403154110c5c3e7
|
7
|
+
data.tar.gz: 333bb72d5f7e04a469c627432a3f41a82ea73b29757235036d50b2700bde1987afb7631db57ac14871792098770e654eb1683f368c050983497b94437c030f0f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
@@ -24,7 +24,7 @@ class Converter
|
|
24
24
|
|
25
25
|
def currency_exchange(currency, dollars, app_id)
|
26
26
|
rate_result = "rates."+currency.to_s
|
27
|
-
|
27
|
+
api_access = "http://openexchangerates.org/api/latest.json?app_id="+app_id.to_s
|
28
28
|
|
29
29
|
file = open(API_access)
|
30
30
|
contents = file.read
|