dolar-bna 0.1.5 → 0.1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90ff0a7641a50bd81d66217970eb5917a33600ae2f94b8edddaa0679ca6ec926
4
- data.tar.gz: 8ed3a22e95d017a176bb1bbf463a88c68e95a1fe486950a3368b3601adea8a79
3
+ metadata.gz: b78eef3718fa4358072496941f40b8406c192a7cebedd74aa86b63a8aedbee32
4
+ data.tar.gz: ffbd51c469ed85f3f65863716629a30d186dbe74710f4e1decf44c5ed249af9e
5
5
  SHA512:
6
- metadata.gz: f96894b27d3a2d81c4cc38318ba369e87682087b2714fa8604dc228362febebaa77f103753744fdc596ba5b0e7d67a756ad5d20cad9bb14885c707cc12852e13
7
- data.tar.gz: a157e93be198a50372bde6fd32f2ee98208b212ef0301012a56962495f0296681a256e6eacae6337451b6cee3d35e13d7c6e3e297aabf6fba36adf55d6c11b5d
6
+ metadata.gz: 3844f5427f8331e59bdfe7819f5e2a31313368b15637d35263e33736c702ebb9f3ab61af3ab387321b24565d8998178fbef6d30633e44ea8720408e7f3b51236
7
+ data.tar.gz: 471420e50b5ad7329b4869c045635e73c618288bad70c74d589bc4a3d781c8a626cf5fdcb0b1b0da559f7ffd5879cb6598259c0dde478977b58e0e0b1382c0e7
@@ -1,7 +1,7 @@
1
1
  module Dolar
2
2
  module Bna
3
3
  class Convert
4
- def initialize(value=0, conversion="ars_to_dolar", dolar_type="Divisa")
4
+ def initialize(value=0, conversion="ars_to_usd", dolar_type="Divisa")
5
5
  @value ||= value
6
6
  @conversion ||= conversion
7
7
  @dolar_type ||= dolar_type
@@ -28,7 +28,7 @@ module Dolar
28
28
  dolar_buy = dolar_query.dolar_buy
29
29
  end
30
30
  end
31
- if @conversion == "ars_to_dolar"
31
+ if @conversion == "ars_to_usd"
32
32
  ars_to_dolar(dolar_buy)
33
33
  else
34
34
  dolar_to_ars(dolar_buy)
@@ -1,5 +1,5 @@
1
1
  module Dolar
2
2
  module Bna
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.5.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dolar-bna
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LITECODE