error_response 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/error_response.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49fd3944b8d8d387a0d8894b4200f587e53778d1c30fa72b60c11525efebf8b7
4
- data.tar.gz: 7bd468da83c09e2bfe9bde84f3021e5e5757c5943c0c570fc321f50fcfeae622
3
+ metadata.gz: 6cfa01e4926a8b4314961856f280ec635698c5206ee3e9f22c085e609db63e8b
4
+ data.tar.gz: a03ad5a015db1e82b1a0b1cec8d59db52e38a24538eb00eb4f2794d9b1bdd0c8
5
5
  SHA512:
6
- metadata.gz: 6827910973f2459448fb5e6a864f786ff7a797c80871e1452239f72d9deb95ec4287a980892ad9c0651ff85824186cfbedaa10c352ce42f3b6a711b87f7a6f62
7
- data.tar.gz: bbbce4540ca67c69bab4e0318d35a9e5d892de689061861ccb4de958490986f1c7ad90cc335b6ebcebca7cff320e2e64107ed5ad085d8514cc97ff4f6c8f2cd0
6
+ metadata.gz: 10801649800603182bf3b3b07a75b35d3b7734629aa550a06739ecce23fd47eeb48271f2e66856896b5a6e602e7067ccc59a096c0f4515cea14f0cc9b967cd47
7
+ data.tar.gz: 75eb9c7b4a5ebb09fc7a75f66ca30216053e5cbec46c14065f8d4187b56e448ebc86c0f40910ecd44e53d1ea36729f9a2c9349337d425dfc488373931968b7a4
@@ -7,8 +7,8 @@ class ErrorResponse
7
7
 
8
8
  status = err_json['error_code'] / 1000
9
9
  {
10
- 'status' => status,
11
- 'json' => err_json
10
+ status: status,
11
+ json: err_json
12
12
  }
13
13
  end
14
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: error_response
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
  - jameslee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-20 00:00:00.000000000 Z
11
+ date: 2019-08-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: use for error_response
14
14
  email: jameslee@kdanmobile.com