promoqui-api-sdk 1.9.1 → 1.9.2

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: 436abb9da6c94fa311b713559e8ee9e4849038e2
4
- data.tar.gz: b81ad370186b2a244e544de84089caa96b060bfa
3
+ metadata.gz: cdae74907db9832d12cdea91e9bf17dd6788989e
4
+ data.tar.gz: 7b66e52c325b28c4657434e77e91b0d21b0e4a1d
5
5
  SHA512:
6
- metadata.gz: 56f6d5eb7a61f1bfe7a1aef5920b9e48c4256e271e120aef98d552176dd200bf0ea268efdd5b91b64f6b995f1a105b0438dc45a24f56fe7181057ca05f5f7562
7
- data.tar.gz: 90cf159effe68a41258654197ba00c82b554c528399935162ed69ac0a96890f385047e3df39e3224e66fe5d80767043af8d1f58b637bf33d22f58bcb15a7eab4
6
+ metadata.gz: 72eec09a2a9f98567d550856e6bcecaded0263fe25763f5ce13df7f61d5fdc475702d0896b7a7bdf9dc68e2014a4141a53e8b984e051cd70139c7ac5fc0d64db
7
+ data.tar.gz: 604d8d12c8dd69578ffe92ab5f658b4662afe7a61fae5dab49899ad84f40627386b5e7802c3151f785bfca9ab81c59f13e240947d05ee032c255dc9cfdbac069
data/lib/pqsdk/city.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module PQSDK
2
2
  class City
3
- attr_accessor :id, :name, :inhabitants, :latitude, :longitude, :state
3
+ attr_accessor :id, :name, :inhabitants, :latitude, :longitude, :state, :country
4
4
 
5
5
  def self.find(name)
6
6
  res = RestLayer.get('v1/cities', { q: name }, { 'Authorization' => "Bearer #{Token.access_token}" })
@@ -54,7 +54,7 @@ module PQSDK
54
54
  result = City.new
55
55
 
56
56
  json.each do |key, val|
57
- unless key == 'inhabitants'
57
+ unless key == 'inhabitants'
58
58
  result.send("#{key}=", val)
59
59
  end
60
60
  end
data/lib/pqsdk/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module PQSDK
2
- VERSION = '1.9.1'
2
+ VERSION = '1.9.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promoqui-api-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Boffa