zendesk_api 1.38.0.rc2 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zendesk_api/error.rb +1 -6
- data/lib/zendesk_api/resources.rb +6 -0
- data/lib/zendesk_api/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d8920d00f8d7aed5156fa8cfd6999f03cfdf17396a3725af756dcc58f885c65
|
4
|
+
data.tar.gz: 26255546558e7027ff19b01f342a60765f28f177b7bdc98b804aaced279e2400
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7fde8ccb0d63280da8aed88cda9966b95b0d239df25c52e944b3c742859654a6320ced0effcf29c424b0c543cda152ee51c166f8df312cf5775c07d617caf68
|
7
|
+
data.tar.gz: 300330f41f85653aee3766ac5683b85c40f696c3b5d6d20ec3c9aabfb503bf275bd8c05f84a0a27d51038069053f3a1b0678cc41650948922cfdde01056a7b45
|
data/lib/zendesk_api/error.rb
CHANGED
@@ -33,12 +33,7 @@ module ZendeskAPI
|
|
33
33
|
private
|
34
34
|
|
35
35
|
def generate_error_msg(response_body)
|
36
|
-
|
37
|
-
|
38
|
-
[
|
39
|
-
response_body["description"],
|
40
|
-
response_body["message"]
|
41
|
-
].compact.join(" - ")
|
36
|
+
response_body.values_at("description", "message", "error", "errors").compact.join(" - ")
|
42
37
|
end
|
43
38
|
end
|
44
39
|
|
data/lib/zendesk_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zendesk_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Davidovitz
|
8
8
|
- Michael Grosser
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-04-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -152,11 +152,11 @@ licenses:
|
|
152
152
|
- Apache-2.0
|
153
153
|
metadata:
|
154
154
|
bug_tracker_uri: https://github.com/zendesk/zendesk_api_client_rb/issues
|
155
|
-
changelog_uri: https://github.com/zendesk/zendesk_api_client_rb/blob/
|
156
|
-
documentation_uri: https://www.rubydoc.info/gems/zendesk_api/
|
157
|
-
source_code_uri: https://github.com/zendesk/zendesk_api_client_rb/tree/
|
155
|
+
changelog_uri: https://github.com/zendesk/zendesk_api_client_rb/blob/v2.0.1/CHANGELOG.md
|
156
|
+
documentation_uri: https://www.rubydoc.info/gems/zendesk_api/2.0.1
|
157
|
+
source_code_uri: https://github.com/zendesk/zendesk_api_client_rb/tree/v2.0.1
|
158
158
|
wiki_uri: https://github.com/zendesk/zendesk_api_client_rb/wiki
|
159
|
-
post_install_message:
|
159
|
+
post_install_message:
|
160
160
|
rdoc_options: []
|
161
161
|
require_paths:
|
162
162
|
- lib
|
@@ -171,8 +171,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: 1.3.6
|
173
173
|
requirements: []
|
174
|
-
rubygems_version: 3.
|
175
|
-
signing_key:
|
174
|
+
rubygems_version: 3.0.3.1
|
175
|
+
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: Zendesk REST API Client
|
178
178
|
test_files: []
|