zold-ruby-sdk 0.2.1 → 0.2.2

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: 6c43838a9818389a034a4fa45bf2b7e988f95702ced3f9f3759effc307466117
4
- data.tar.gz: d334479f1a9723a1d6f3861d572153c8923e1eadd07d4ee9d8f2c3c393b0fd46
3
+ metadata.gz: 45e90631aa346adba591e28b264b8b3e9b2fde0ea3172c139ff222d30adc9a20
4
+ data.tar.gz: ae457ccd2d0b2bc1d968a08b1cde2641cb1356c5e9526e94dc7804e92a3f2677
5
5
  SHA512:
6
- metadata.gz: f24952817a9b8eed5457ed9e0752e783def9d2210bde45f8d8d9b6083483bf1964555cd88e07d950b796b8bdfb2ac94bd75d8dc83e2ab23e2a24845d084900c6
7
- data.tar.gz: 8fbcd9afbf6b1d7df9a0304cd3fafe0beeecf416c01160ae2950e0b35e88159bec633de21f28839971ee0226c176023039a10a4f6786148faeaa09f98af7a257
6
+ metadata.gz: de70c44c19c753a200b7cc0715696669b87ca1a8493cfb4d96a49b7fa7f25e0f18652f9aabfa4c43399e5432a3eb6c7f71baa8b270da968641ab3158f2a2f7b3
7
+ data.tar.gz: '008af64c6d0b3c45e0b137bf1344fe438378ae86980a6e0d73d77ad8478c100a74821d2dd6d92c84a20ae3fdf25900735c81759587f4a4cf21700785d8742704'
@@ -210,6 +210,7 @@ class Zold::WTS
210
210
  end
211
211
 
212
212
  def job_of(http)
213
+ raise 'There are no headers in the response' if http.headers.nil?
213
214
  job = http.headers['X-Zold-Job']
214
215
  raise 'Job ID is not returned, for some reason' if job.nil?
215
216
  job
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
29
29
  s.rubygems_version = '2.2'
30
30
  s.required_ruby_version = '>=2.5'
31
31
  s.name = 'zold-ruby-sdk'
32
- s.version = '0.2.1'
32
+ s.version = '0.2.2'
33
33
  s.license = 'MIT'
34
34
  s.summary = 'Zold score'
35
35
  s.description = 'Ruby SDK for Zold online wallets management system (WTS)'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zold-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko