segurocomar 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 0ee3db34e73804540a47795144912adcf453a1d0
4
- data.tar.gz: b12746db45d617769a06ec3b9647bcfe82103c7f
3
+ metadata.gz: dc83c5fae5c7437eef1fc57b57783f8635ead1ae
4
+ data.tar.gz: 1d4901cb249f041168fc7c638516baa01cd52db2
5
5
  SHA512:
6
- metadata.gz: 050185ee7c11ffc489721f56b37172f62946941d0eb8d2521952baabba5498071a553a5a2034b035f19ef53e3f8d864d3b6e8fc3458dd9e8ce8fd1e18742afa8
7
- data.tar.gz: 329d31a049833f59df33717c0b42bb13cdf80d3448663feebf9c7dba807d08a02c3c91736d8672b4ec1f655a87f2e3ee9da178da757463e9c465045b38916f8b
6
+ metadata.gz: c4ed4b1f2d01309122e6653e435bbf553d5283474921ca9df665be3586a759fcf9c667272ef7304f9513054d8cd59ea6b6fedf8232f58e5f805cc473af4a50bb
7
+ data.tar.gz: 0064d948ef36586013854e0625a72fec1ebe8547101f65e0e07c27318db179eaa9c08848cf13c3376012cbb1849c96be1d5b08fac214a8cc5af814c2a0a72127
data/CHANGELOG.md CHANGED
@@ -13,3 +13,7 @@
13
13
  ## v0.0.4
14
14
 
15
15
  * Get quote by code
16
+
17
+ ## v0.0.5
18
+
19
+ * BUGFIX: get quote by code fix
@@ -9,7 +9,7 @@ module Segurocomar
9
9
 
10
10
  def get_quote(quote_code)
11
11
  result = get_request("/quotes/#{quote_code}")
12
- Segurocomar::Entity::Quote.new(result)
12
+ Segurocomar::Entity::Quote.new(result[:body])
13
13
  end
14
14
 
15
15
  def calculate_product_prices(quote_id, product_ids)
@@ -1,3 +1,3 @@
1
1
  module Segurocomar
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: segurocomar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick