unleashed 0.1.6 → 0.1.7

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: 9fecd731ad21c9865bf063762b3ef5a61b36a1a05a732939aabb1bc25c3f0113
4
- data.tar.gz: 168ecfdb748724ef08bdc61fda96df7db734ff51998c13571a87f72ce59de1f5
3
+ metadata.gz: f5d6367c6d29e0b8c1e9034e5537a26450fd37cc321f8fe566a8a802ab12509d
4
+ data.tar.gz: 21dbff509f3bbb40c1dd98ee4014881461c52b626a2ee235b0367c5cdf706557
5
5
  SHA512:
6
- metadata.gz: e9200bb879c2838c675315f5adbe0ceffbcfa5ff6f11a10eede2c619f0f6ef254565625363c515fa5fd2609dc5ce9085d6935dbbd5a329712303224184b564e5
7
- data.tar.gz: be8b6c15381094f97e42d59894519dd3b86c4587df0eec55d3a7347362945815fa0e6c1181fede9fc19653ec60c59f7504583d47ebaa010f8ec25bf4293257e6
6
+ metadata.gz: 0ef8902ad1494b3de7148f24a80211ab8f55d1e89af2984a422d70caad0a8557c7abf3cf2063fa4ea390dc3dc8e5661ec3648a8217df3413140274fdbc2b72e0
7
+ data.tar.gz: bc6c05cbf0232a4c9e957104865e86a0c437abc37245898321971cf7924d8ddcb3fd12ae8c22a3eb7e355d6304b4bf12fa240dcdadfac7fe26125248000a9965
@@ -42,7 +42,7 @@ module Unleashed
42
42
  else
43
43
  json_response = JSON.parse(@response.body)
44
44
  message = ''
45
- message << json_response['message'] if json_response.key?('message')
45
+ message << json_response['description'] if json_response.key?('description')
46
46
 
47
47
  if json_response.key?('errors')
48
48
  message << json_response['errors'].map { |attribute, content| "#{attribute}: #{content}" }.join(', ')
@@ -2,7 +2,7 @@ module Unleashed
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = "#{MAJOR}.#{MINOR}.#{TINY}".freeze
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unleashed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhan Nguyen