calendly 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96fd8996d40912f340aa9fb36401dd23576718b728d9df0d33cebbaa8a4a847f
4
- data.tar.gz: 35589e4bd03edb7f0d9848abb74025f1e62900bbc788c6295d4bedf977cc2102
3
+ metadata.gz: c72f1c342babfaaadb025cafe9738afd5883312c08b00cc1d2631152539c3a5c
4
+ data.tar.gz: c1e14541f08bfa9f3aaf77cb6a9a6cfb063141775329f1f5dd3acdbe0058dd67
5
5
  SHA512:
6
- metadata.gz: '0815e309cf6cc1bb4c383cd2a747b6d43a6e97b5b060ae5e6704dd0eff33568f2f192b17a45991cb140ab632394d5b30a09e88aae2b4dc7ecd5889f49514c899'
7
- data.tar.gz: 99c9c10f9ab9dab0648419216d3781ac2417a5b43c20172e1ac7c1bb56727627f4ffb1c92a31fed53b194fb38320943ff2f280cd7d024461091a082496595e5d
6
+ metadata.gz: 766d16471b9810138706a85cb964341ce8763a3cb79d0e30506221501d61208655fb5ab594d7793b65bb67fbe3a5d2c44759aae8d245ecfb0563f0d24858ad14
7
+ data.tar.gz: 705a7fd917f0502640092c10f8776a572e68cda2824c4fa3ab3df9e2664ea410486ccb6a12db5eeaee08e6c6dc85f7852a7d81ab34a849589f683c436799674d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.8.2 - 2022-02-26
4
+
5
+ - support cancellation field in the response of scheduled event endpoints. (#41)
6
+
3
7
  ## 0.8.1 - 2021-10-20
4
8
 
5
9
  - support new UUID format like 'bbc4f475-6125-435a-b713-2d1634651e10'. (#38, thanks to jameswilliamiii)
@@ -4,6 +4,7 @@ require 'calendly/client'
4
4
  require 'calendly/models/model_utils'
5
5
  require 'calendly/models/event_type'
6
6
  require 'calendly/models/guest'
7
+ require 'calendly/models/invitee_cancellation'
7
8
  require 'calendly/models/invitees_counter'
8
9
  require 'calendly/models/location'
9
10
 
@@ -17,6 +18,7 @@ module Calendly
17
18
  ASSOCIATION = {
18
19
  event_type: EventType,
19
20
  event_guests: Guest,
21
+ cancellation: InviteeCancellation,
20
22
  invitees_counter: InviteesCounter,
21
23
  location: Location
22
24
  }.freeze
@@ -57,14 +59,18 @@ module Calendly
57
59
  # Reference to Event Type associated with this event.
58
60
  attr_accessor :event_type
59
61
 
60
- # @return [Calendly::Location]
61
- # location in this event.
62
- attr_accessor :location
62
+ # @return [InviteeCancellation]
63
+ # Provides data pertaining to the cancellation of the Invitee.
64
+ attr_accessor :cancellation
63
65
 
64
66
  # @return [InviteesCounter]
65
67
  # invitees counter.
66
68
  attr_accessor :invitees_counter
67
69
 
70
+ # @return [Calendly::Location]
71
+ # location in this event.
72
+ attr_accessor :location
73
+
68
74
  # @return [Array<User>]
69
75
  # Event membership list.
70
76
  attr_accessor :event_memberships
@@ -13,5 +13,8 @@ module Calendly
13
13
 
14
14
  # @return [String] Reason that the cancellation occurred.
15
15
  attr_accessor :reason
16
+
17
+ # @return [String] Allowed values: host or invitee.
18
+ attr_accessor :canceler_type
16
19
  end
17
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Calendly
4
- VERSION = '0.8.1'
4
+ VERSION = '0.8.2'
5
5
  end
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.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenji Koshikawa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-20 00:00:00.000000000 Z
11
+ date: 2022-02-26 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.1
164
+ documentation_uri: https://www.rubydoc.info/gems/calendly/0.8.2
165
165
  post_install_message:
166
166
  rdoc_options: []
167
167
  require_paths: