beyond_api 0.22.1.pre → 0.22.2.pre

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: c1c17d3c33972bbb2122a03c118ea64589d54b047d59a365d9ebeaba20b4ecd2
4
- data.tar.gz: 98c14c1abd45b93590681d6f30cf76b626658b6d0809eab436af6e6b74751e1b
3
+ metadata.gz: 06a1046cb7637b192f79fca4be07b902cf3045963b3f978062a8fd84944284e0
4
+ data.tar.gz: c8aacd61559f7fe51597e4e63b0172aaddf84bed4fb01f5831961fb602f4c7e0
5
5
  SHA512:
6
- metadata.gz: 0dbfddd7937bbb4c38e1f5d8c1535bba4c42d535e2374b94eaa53c28c23904a3d60defb6087d7e4b25698f11c171ae09439a6f3d955066ea293dc2517857a465
7
- data.tar.gz: '02159d93b4bd6e491ab63c842582d00d22182394f73064d9a411bdb8d883a36f155f2ecbb6bfc71086abffd94e81a7be8212d0e464513c69fd98bff3251faf51'
6
+ metadata.gz: b7e4d641196968088a2954559271e4cf12c15b1afe3938a54a9f57e9612ec8ba59b4f842fc8abd74b7e356c24b4ee4255c8878b856ab0afafc2c86c4f8c0bd46
7
+ data.tar.gz: 6cb10e858271f8f87bb6a77e370cf3ff096aee683f57817acb653228c86b132a3db2d3eebf7633dcf5f0bb18c8d0230e84d196a19b8fe6d9dbc3ba607ad9a248
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beyond_api (0.22.1.pre)
4
+ beyond_api (0.22.2.pre)
5
5
  faraday (~> 1.9.0)
6
6
 
7
7
  GEM
@@ -15,5 +15,17 @@ module BeyondApi
15
15
 
16
16
  super(data["message"] || data["error_description"])
17
17
  end
18
+
19
+ def to_json
20
+ {
21
+ error_id: @error_id,
22
+ message: @message,
23
+ details: @details,
24
+ error: @error,
25
+ error_description: @error_description,
26
+ trace_id: @trace_id,
27
+ status_code: @status_code
28
+ }
29
+ end
18
30
  end
19
31
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BeyondApi
4
- VERSION = "0.22.1.pre"
4
+ VERSION = "0.22.2.pre"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beyond_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.1.pre
4
+ version: 0.22.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Unai Abrisketa
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2023-03-29 00:00:00.000000000 Z
14
+ date: 2023-04-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  - !ruby/object:Gem::Version
244
244
  version: 1.3.1
245
245
  requirements: []
246
- rubygems_version: 3.4.1
246
+ rubygems_version: 3.3.7
247
247
  signing_key:
248
248
  specification_version: 4
249
249
  summary: Ruby client to access the Beyond API