zendesk_api 3.0.4 → 3.0.5
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/resources.rb +13 -1
- data/lib/zendesk_api/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ecc2ccbe7be3ec6da2b36fdcd7b75004fcecd91a26de63d0bb561dcddff86cc
|
4
|
+
data.tar.gz: c4b7a7d6baa3246d2835251d03d2a7c0fd69961fd2ca3575a7486f3a7adf06f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9183c973ac61c198dd69d975c5bc9eb27cc424b47e50027d32c2a462f651b08681925b00fd4686d248b615a80445c34b59273861a164917ea6738b54d04c1a4b
|
7
|
+
data.tar.gz: 980637e5be8ba003774a6fe5fe53dc2a4003ba6e58b933d21aaba66cb9c66eb0dd3f706ac6b2e69740f1c22cfe2a3d4c7301a7cfd313c0753ef3cff7cbc2683b
|
@@ -167,6 +167,10 @@ module ZendeskAPI
|
|
167
167
|
end
|
168
168
|
|
169
169
|
class Brand < Resource
|
170
|
+
def self.cbp_path_regexes
|
171
|
+
[/^brands$/]
|
172
|
+
end
|
173
|
+
|
170
174
|
def destroy!
|
171
175
|
self.active = false
|
172
176
|
save!
|
@@ -407,7 +411,7 @@ module ZendeskAPI
|
|
407
411
|
extend DestroyMany
|
408
412
|
|
409
413
|
def self.cbp_path_regexes
|
410
|
-
[/^tickets
|
414
|
+
[/^tickets$/, %r{organizations/\d+/tickets}]
|
411
415
|
end
|
412
416
|
|
413
417
|
# Unlike other attributes, "comment" is not a property of the ticket,
|
@@ -428,6 +432,10 @@ module ZendeskAPI
|
|
428
432
|
has :author, :class => User
|
429
433
|
|
430
434
|
has_many Event
|
435
|
+
|
436
|
+
def self.cbp_path_regexes
|
437
|
+
[%r{^tickets/\d+/audits$}]
|
438
|
+
end
|
431
439
|
end
|
432
440
|
|
433
441
|
class Comment < DataResource
|
@@ -740,6 +748,10 @@ module ZendeskAPI
|
|
740
748
|
put :request_verification
|
741
749
|
end
|
742
750
|
|
751
|
+
def self.cbp_path_regexes
|
752
|
+
[/^users$/, %r{^organizations/\d+/users$}]
|
753
|
+
end
|
754
|
+
|
743
755
|
any :password
|
744
756
|
|
745
757
|
# Set a user's password
|
data/lib/zendesk_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zendesk_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Davidovitz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -153,9 +153,9 @@ licenses:
|
|
153
153
|
- Apache-2.0
|
154
154
|
metadata:
|
155
155
|
bug_tracker_uri: https://github.com/zendesk/zendesk_api_client_rb/issues
|
156
|
-
changelog_uri: https://github.com/zendesk/zendesk_api_client_rb/blob/v3.0.
|
157
|
-
documentation_uri: https://www.rubydoc.info/gems/zendesk_api/3.0.
|
158
|
-
source_code_uri: https://github.com/zendesk/zendesk_api_client_rb/tree/v3.0.
|
156
|
+
changelog_uri: https://github.com/zendesk/zendesk_api_client_rb/blob/v3.0.5/CHANGELOG.md
|
157
|
+
documentation_uri: https://www.rubydoc.info/gems/zendesk_api/3.0.5
|
158
|
+
source_code_uri: https://github.com/zendesk/zendesk_api_client_rb/tree/v3.0.5
|
159
159
|
wiki_uri: https://github.com/zendesk/zendesk_api_client_rb/wiki
|
160
160
|
post_install_message:
|
161
161
|
rdoc_options: []
|