currency_quote 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/currency_quote/invertir_online.rb +2 -2
- data/lib/currency_quote/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e68345a1c2ec9e49d8a1f9f5e8406b4e4ebfa7f10eb1c968624c45ffff61fb66
|
4
|
+
data.tar.gz: e9c4b067a69e1761a9cc519ab38204eaacb6b62cc2a5e3336ed468d2e76278ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62e4ec0c632282736ae6d9c9f608a4430cc9331d68e05fd18fb8bf3dd487c594c10a9e12b687d0fba90550cadb944b9945e987472cdc7ce01d8694daee4b8baf
|
7
|
+
data.tar.gz: d16b1582a75cf18aa48d4703f13bd2b03be5d9c3a6b3917ada9163906c5039930ab77fe9016e3aa486315491627386a79b3b565984a8a805da004775769b3f7b
|
data/Gemfile.lock
CHANGED
@@ -12,11 +12,11 @@ class CurrencyQuote::InvertirOnline
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def get_quote(simbol:, mercado: 'bCBA', plazo: 't1')
|
15
|
-
url = BASE_URL + "/api/v2/#{mercado}/Titulos/#{
|
15
|
+
url = BASE_URL + "/api/v2/#{mercado}/Titulos/#{simbol.upcase}/Cotizacion"
|
16
16
|
HTTParty.get(url,
|
17
17
|
body: {
|
18
18
|
'mercado' => mercado,
|
19
|
-
'simbol' =>
|
19
|
+
'simbol' => simbol.upcase,
|
20
20
|
'model.mercado' => mercado,
|
21
21
|
'model.plazo' => plazo
|
22
22
|
},
|