calendly 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/calendly/client.rb +4 -2
- data/lib/calendly/models/organization.rb +1 -0
- data/lib/calendly/models/user.rb +1 -0
- data/lib/calendly/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: 706fe58387318797ed3fed0c46c629a52eaa9b3ef2b22ed160bbbb203e8b7ad8
|
4
|
+
data.tar.gz: 1329d04a6eeeb29da76a83b0b36e716368df61766055ea11684552d337526617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b14cc3eb57722550794456b53405bdad576b426218beca539b8c92949e060ec75c9374d17b5fa3aea2835d863c57483bcf0a51bbe9c931ed35b1c61e259c709
|
7
|
+
data.tar.gz: 9a526d1719c5eca1f8bf43823b95e22307f650e5b5a833cf93caffb40c1d2b7094f9c9e452dc3e0dc3164e2fba645b4489027d5f6a0b20a52bc01af7c9541af7
|
data/CHANGELOG.md
CHANGED
data/lib/calendly/client.rb
CHANGED
@@ -107,6 +107,7 @@ module Calendly
|
|
107
107
|
#
|
108
108
|
# @param [String] org_uri the specified organization (organization's uri).
|
109
109
|
# @param [Hash] options the optional request parameters. Optional.
|
110
|
+
# @option options [Boolean] :active Return only active event types if true, only inactive if false, or all event types if this parameter is omitted.
|
110
111
|
# @option options [Integer] :count Number of rows to return.
|
111
112
|
# @option options [String] :page_token Pass this to get the next portion of collection.
|
112
113
|
# @option options [String] :sort Order results by the specified field and direction. Accepts comma-separated list of {field}:{direction} values.
|
@@ -119,7 +120,7 @@ module Calendly
|
|
119
120
|
def event_types(org_uri, options: nil)
|
120
121
|
check_not_empty org_uri, 'org_uri'
|
121
122
|
|
122
|
-
opts_keys = %i[count page_token sort]
|
123
|
+
opts_keys = %i[active count page_token sort]
|
123
124
|
params = {organization: org_uri}
|
124
125
|
params = merge_options options, opts_keys, params
|
125
126
|
body = request :get, 'event_types', params: params
|
@@ -134,6 +135,7 @@ module Calendly
|
|
134
135
|
#
|
135
136
|
# @param [String] user_uri the specified user (user's uri).
|
136
137
|
# @param [Hash] options the optional request parameters. Optional.
|
138
|
+
# @option options [Boolean] :active Return only active event types if true, only inactive if false, or all event types if this parameter is omitted.
|
137
139
|
# @option options [Integer] :count Number of rows to return.
|
138
140
|
# @option options [String] :page_token Pass this to get the next portion of collection.
|
139
141
|
# @option options [String] :sort Order results by the specified field and direction. Accepts comma-separated list of {field}:{direction} values.
|
@@ -146,7 +148,7 @@ module Calendly
|
|
146
148
|
def event_types_by_user(user_uri, options: nil)
|
147
149
|
check_not_empty user_uri, 'user_uri'
|
148
150
|
|
149
|
-
opts_keys = %i[count page_token sort]
|
151
|
+
opts_keys = %i[active count page_token sort]
|
150
152
|
params = {user: user_uri}
|
151
153
|
params = merge_options options, opts_keys, params
|
152
154
|
body = request :get, 'event_types', params: params
|
@@ -85,6 +85,7 @@ module Calendly
|
|
85
85
|
# Returns all Event Types associated with self.
|
86
86
|
#
|
87
87
|
# @param [Hash] options the optional request parameters. Optional.
|
88
|
+
# @option options [Boolean] :active Return only active event types if true, only inactive if false, or all event types if this parameter is omitted.
|
88
89
|
# @option options [Integer] :count Number of rows to return.
|
89
90
|
# @option options [String] :page_token Pass this to get the next portion of collection.
|
90
91
|
# @option options [String] :sort Order results by the specified field and direction.
|
data/lib/calendly/models/user.rb
CHANGED
@@ -92,6 +92,7 @@ module Calendly
|
|
92
92
|
# Returns all Event Types associated with self.
|
93
93
|
#
|
94
94
|
# @param [Hash] options the optional request parameters. Optional.
|
95
|
+
# @option options [Boolean] :active Return only active event types if true, only inactive if false, or all event types if this parameter is omitted.
|
95
96
|
# @option options [Integer] :count Number of rows to return.
|
96
97
|
# @option options [String] :page_token Pass this to get the next portion of collection.
|
97
98
|
# @option options [String] :sort Order results by the specified field and direction.
|
data/lib/calendly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calendly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenji Koshikawa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -161,7 +161,7 @@ metadata:
|
|
161
161
|
homepage_uri: https://github.com/koshilife/calendly-api-ruby-client
|
162
162
|
source_code_uri: https://github.com/koshilife/calendly-api-ruby-client
|
163
163
|
changelog_uri: https://github.com/koshilife/calendly-api-ruby-client/blob/master/CHANGELOG.md
|
164
|
-
documentation_uri: https://www.rubydoc.info/gems/calendly/0.8.
|
164
|
+
documentation_uri: https://www.rubydoc.info/gems/calendly/0.8.3
|
165
165
|
post_install_message:
|
166
166
|
rdoc_options: []
|
167
167
|
require_paths:
|