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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/beyond_api/error.rb +12 -0
- data/lib/beyond_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06a1046cb7637b192f79fca4be07b902cf3045963b3f978062a8fd84944284e0
|
4
|
+
data.tar.gz: c8aacd61559f7fe51597e4e63b0172aaddf84bed4fb01f5831961fb602f4c7e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7e4d641196968088a2954559271e4cf12c15b1afe3938a54a9f57e9612ec8ba59b4f842fc8abd74b7e356c24b4ee4255c8878b856ab0afafc2c86c4f8c0bd46
|
7
|
+
data.tar.gz: 6cb10e858271f8f87bb6a77e370cf3ff096aee683f57817acb653228c86b132a3db2d3eebf7633dcf5f0bb18c8d0230e84d196a19b8fe6d9dbc3ba607ad9a248
|
data/Gemfile.lock
CHANGED
data/lib/beyond_api/error.rb
CHANGED
@@ -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
|
data/lib/beyond_api/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|