api_tools 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: c3e56100008f5a35083b0043cc17b9db07c7bb44
4
- data.tar.gz: 7c80f71133a6bb39c21c95128b8fa8e1e67ad130
3
+ metadata.gz: ee152edcc7419e46ff8c9ba33eade1e59023e630
4
+ data.tar.gz: bf7f812e35a02e6b549387e02e1f1db0e120c370
5
5
  SHA512:
6
- metadata.gz: c6a58991777ef3410b2697121ebd9ee6e6cc2a6b00028b3f1275780b8cae0d3c6c37419657ca5078d076cc2ee73e3af2105fc30ba3618712bc1b7bf411464c27
7
- data.tar.gz: ebd00d5c22311f1fc9bf3564ecc44c8643d482fa1c883109b4294b2b4ef1f548d84d63b26f97adc286d6792f27675a2736234b29623aeb2dc08c57a479f12a54
6
+ metadata.gz: 8902e50e98d66ade54921f457221d6c9732ac1a8712e871b9eae837855477f89e36fdff05a8a5bf8f1df9f62bc798ad30b5a9e2c3f08b8b6ff190b3ca655a783
7
+ data.tar.gz: d61fa53789040571c965d807a3f46ad887e8acef63096feaee2a39cc2684556b5d1c1847aed667224187a0c51936fd3851423d191142de9c76d7557067aa57f5
@@ -72,8 +72,8 @@ module ApiTools
72
72
  {
73
73
  status: false,
74
74
  message: ex.message,
75
- response_code: ex&.response.code,
76
- response_body: ex&.response.body
75
+ response_code: ex && ex.response.code,
76
+ response_body: ex && ex.response.body
77
77
  }
78
78
  end
79
79
 
@@ -1,3 +1,3 @@
1
1
  module ApiTools
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_tools
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
  - atpking
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-21 00:00:00.000000000 Z
11
+ date: 2018-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler