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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bf88a3fc8a7d35ce9f4cba45330f8e59c9bf2efbb731adc1e0570367ef7bbaa
4
- data.tar.gz: ade76e76c90775f8c7f6b58f9d6eb79aea43ca451f7b3522813d8f73222c1113
3
+ metadata.gz: e68345a1c2ec9e49d8a1f9f5e8406b4e4ebfa7f10eb1c968624c45ffff61fb66
4
+ data.tar.gz: e9c4b067a69e1761a9cc519ab38204eaacb6b62cc2a5e3336ed468d2e76278ed
5
5
  SHA512:
6
- metadata.gz: 23e231b50836f599f20f107c63108dd142b52a8cfe2092f0563401515d2a1dc377b4fc457d6f7d43186e80b9d8f502599bba0b2f07e94ec4910547627def5d97
7
- data.tar.gz: 47446653b727e1ff5b78c3136e5f13f486c005edfbf4fff36fb88b0e66ec50c3f9561c7418e8bae832640a20713ca805425030c38b4fbfe2d8af04e435339c54
6
+ metadata.gz: 62e4ec0c632282736ae6d9c9f608a4430cc9331d68e05fd18fb8bf3dd487c594c10a9e12b687d0fba90550cadb944b9945e987472cdc7ce01d8694daee4b8baf
7
+ data.tar.gz: d16b1582a75cf18aa48d4703f13bd2b03be5d9c3a6b3917ada9163906c5039930ab77fe9016e3aa486315491627386a79b3b565984a8a805da004775769b3f7b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- currency_quote (0.2.1)
4
+ currency_quote (0.2.3)
5
5
  addressable
6
6
  nokogiri
7
7
 
@@ -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/#{currency.upcase}/Cotizacion"
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' => currency.upcase,
19
+ 'simbol' => simbol.upcase,
20
20
  'model.mercado' => mercado,
21
21
  'model.plazo' => plazo
22
22
  },
@@ -1,3 +1,3 @@
1
1
  module CurrencyQuote
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: currency_quote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facundo A. Díaz Martínez