zendesk_api 1.33.0 → 1.34.0
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/client.rb +1 -1
- data/lib/zendesk_api/resources.rb +4 -1
- data/lib/zendesk_api/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e138461b731cb580a6e11cd2a67a5864e909d13da934cb42623debe9a4fda60
|
4
|
+
data.tar.gz: f3ba385fd7563be3e6cce8afc22576a9fd81cd358cbc70635fdf2a30aee27e5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61c2fcf9df4c4a6ffc77042ee63b0cfc11895619083b5e9d80a7c569aac87478a6aa989f4aa8305c853226e260e64741f536247f9dec58237d333571bd1bf3c0
|
7
|
+
data.tar.gz: 78ee9bb11b950f2abcecd4b792199ffbf7b4cbfe6aef5bb9026dd371bf0f2a27a7b955250f88f9188938ed4e8a51a0310cb225f505fcd75a9cdd2ffcf4c8906c
|
data/lib/zendesk_api/client.rb
CHANGED
@@ -198,7 +198,7 @@ module ZendeskAPI
|
|
198
198
|
end
|
199
199
|
|
200
200
|
def check_url
|
201
|
-
if !config.allow_http && config.url
|
201
|
+
if !config.allow_http && !config.url.start_with?('https://')
|
202
202
|
raise ArgumentError, "zendesk_api is ssl only; url must begin with https://"
|
203
203
|
end
|
204
204
|
end
|
@@ -5,7 +5,6 @@ module ZendeskAPI
|
|
5
5
|
class User < Resource; end
|
6
6
|
class UserRelated < DataResource; end
|
7
7
|
class Category < Resource; end
|
8
|
-
class OrganizationMembership < ReadResource; end
|
9
8
|
class OrganizationSubscription < ReadResource; end
|
10
9
|
|
11
10
|
# @internal Begin actual Resource definitions
|
@@ -126,6 +125,10 @@ module ZendeskAPI
|
|
126
125
|
|
127
126
|
class OrganizationRelated < DataResource; end
|
128
127
|
|
128
|
+
class OrganizationMembership < ReadResource
|
129
|
+
extend CreateOrUpdate
|
130
|
+
end
|
131
|
+
|
129
132
|
class Organization < Resource
|
130
133
|
extend CreateMany
|
131
134
|
extend CreateOrUpdate
|
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: 1.
|
4
|
+
version: 1.34.0
|
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:
|
12
|
+
date: 2022-01-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
version: 3.5.2
|
41
41
|
- - "<"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
43
|
+
version: 6.0.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
version: 3.5.2
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: 6.0.0
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: inflection
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,9 +143,9 @@ licenses:
|
|
143
143
|
- Apache-2.0
|
144
144
|
metadata:
|
145
145
|
bug_tracker_uri: https://github.com/zendesk/zendesk_api_client_rb/issues
|
146
|
-
changelog_uri: https://github.com/zendesk/zendesk_api_client_rb/blob/v1.
|
147
|
-
documentation_uri: https://www.rubydoc.info/gems/zendesk_api/1.
|
148
|
-
source_code_uri: https://github.com/zendesk/zendesk_api_client_rb/tree/v1.
|
146
|
+
changelog_uri: https://github.com/zendesk/zendesk_api_client_rb/blob/v1.34.0/CHANGELOG.md
|
147
|
+
documentation_uri: https://www.rubydoc.info/gems/zendesk_api/1.34.0
|
148
|
+
source_code_uri: https://github.com/zendesk/zendesk_api_client_rb/tree/v1.34.0
|
149
149
|
wiki_uri: https://github.com/zendesk/zendesk_api_client_rb/wiki
|
150
150
|
post_install_message:
|
151
151
|
rdoc_options: []
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
- !ruby/object:Gem::Version
|
163
163
|
version: 1.3.6
|
164
164
|
requirements: []
|
165
|
-
rubygems_version: 3.
|
165
|
+
rubygems_version: 3.0.3
|
166
166
|
signing_key:
|
167
167
|
specification_version: 4
|
168
168
|
summary: Zendesk REST API Client
|