calendly 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3656dc7886aad2a35932152a25f601d2160bed7f53b4ead91e67eb4cb82bb433
4
- data.tar.gz: 337d5637a69e30e1dcc943ac1332f38b1675e3d55e0c09049d9308661b4edbe3
3
+ metadata.gz: 5fb02343424c86dc7fbc58c8b0874382d824ae2e2dca791e1346138ccb4a0608
4
+ data.tar.gz: 4ed30818c3094ed630718fced80fb7eb78569299a363e6e7bfbd788807c279cd
5
5
  SHA512:
6
- metadata.gz: 32d0c18ebb375a99fb1b23b4365f99ba5957ebbbfed497690ef7d6db8bb0e0ada413853a927892963af62cc21afe39ad6f8d5740831af2e4e881fcc8e9bb5017
7
- data.tar.gz: 81a59436778d27892dd325496bc234bea9380fba303b872a2d04ba6ea4b18d73b94d3a13133f7b90f2a68f19a994263ef464a60332239df3f61e064a6d116841
6
+ metadata.gz: b76d91932bf624dd4bb997da1197670843cbf84ec3d8de7b848ffacc8345434cf08b08886558c8d93bbf146d746f9e6d1b8e65c495d73633e72d3e517b6da6ba
7
+ data.tar.gz: f35b3781d1fc979fa3d8207a120bf9ca07bf85a9b6aa69faa7713d64deb26d8b332525cf768653e65dba6c17558a26db95ed74ca7accda8eeb2d316a134ff1bb
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.4.0
4
+
5
+ - fix changed Location fields such as `kind` to `type`. (refs #18)
6
+
3
7
  ## 0.3.0
4
8
 
5
9
  - remove zeitwerk dependency. (refs #16)
@@ -4,51 +4,67 @@ require 'calendly/models/model_utils'
4
4
 
5
5
  module Calendly
6
6
  # Calendly's location model.
7
- # Polymorphic base type for the various supported meeting locations.
7
+ # The polymorphic base type for an event location that Calendly supports
8
8
  class Location
9
9
  include ModelUtils
10
10
 
11
+ #
11
12
  # data patterns is below:
12
- # - 1. A meeting at a pre-specified physical location
13
- # - [String] :kind
14
- # - [String] :location A physical location specified by the meeting publisher.
15
- # - 2. Meeting publisher will call the invitee
16
- # - [String] :kind
17
- # - 3. Invitee will call meeting publisher at the specified phone number.
18
- # - [String] :kind
19
- # - [String] :phone_number Phone number invitee should use to reach meeting publisher.
20
- # - 4. Meeting will take place in a Google Meet / Hangout conference.
21
- # - [String] :kind
22
- # - 5. Meeting will take place in a Zoom conference.
23
- # - [String] :kind
24
- # - 6. Meeting will take place in a GotoMeeting conference.
25
- # - [String] :kind
26
- # - [String] :external_id Zoom-supplied conference id.
27
- # - [String] :state Current state of the conference in Zoom.
28
- # - [Hash] :data Arbitrary conference metadata supplied by Zoom.
29
- # - 7. Arbitrary conference metadata supplied by GotoMeeting.
30
- # - [String] :kind
31
- # - [String] :external_id GotoMeeting-supplied conference id.
32
- # - [String] :state Current state of the conference in GotoMeeting.
33
- # - [String] :data Arbitrary conference metadata supplied by GotoMeeting.
34
- # - 8. Meeting location does not fall in a standard category, and is as described by the meeting publisher.
35
- # - [String] :kind
36
- # - [String] :location Location description provided by meeting publisher.
37
- # - 9. Meeting location was specified by invitee.
38
- # - [String] :kind
39
- # - [String] :location Meeting location was specified by invitee.
13
+ #
14
+ # 1. In-Person Meeting: Information about the physical (in-person) event location.
15
+ # @param [String] type Indicates that the event host (publisher) will call the invitee.
16
+ # @param [String] location The physical location specified by the event host (publisher).
17
+ #
18
+ # 2. Outbound Call: Meeting publisher will call the Invitee
19
+ # @param [String] type Indicates that the event host (publisher) will call the invitee.
20
+ # @param [String] location The phone number the event host (publisher) will use to call the invitee.
21
+ #
22
+ # 3. Inbound Call: Invitee will call meeting publisher at the specified phone number.
23
+ # @param [String] type Indicates that the invitee will call the event host.
24
+ # @param [String] location The phone number the invitee will use to call the event host (publisher).
25
+ #
26
+ # 4. Google Conference: Details about an Event that will take place using a Google Meet / Hangout conference.
27
+ # @param [String] type The event location is a Google Meet or Hangouts conference.
28
+ # @param [String] status Indicates the current status of the Google conference.
29
+ # @param [String] join_url Google conference meeting url.
30
+ #
31
+ # 5. Zoom Conference: Meeting will take place in a Zoom conference.
32
+ # @param [String] type The event location is a Zoom conference
33
+ # @param [String] status Indicates the current status of the Zoom conference.
34
+ # @param [String] join_url Zoom meeting url.
35
+ # @param [Hash] data The conference metadata supplied by Zoom.
36
+ #
37
+ # 6. GoToMeeting Conference: Details about an Event that will take place using a GotoMeeting conference
38
+ # @param [String] type The event location is a GoToMeeting conference.
39
+ # @param [String] status Indicates the current status of the GoToMeeting conference.
40
+ # @param [String] join_url GoToMeeting conference meeting url.
41
+ # @param [Hash] data The conference metadata supplied by GoToMeeting.
42
+ #
43
+ # 7. Microsoft Teams Conference:
44
+ # @param [String] type The event location is a Zoom conference.
45
+ # @param [String] status Indicates the current status of the Microsoft Teams conference.
46
+ # @param [String] join_url Microsoft Teams meeting url.
47
+ # @param [Hash] data The conference metadata supplied by Microsoft Teams.
48
+ #
49
+ # 8. Custom Location:
50
+ # Use this to describe an existing Calendly-supported event location.
51
+ # @param [String] type The event location doesn't fall into a standard category defined by the event host (publisher).
52
+ # @param [String] location The event location description provided by the invitee.
53
+ #
54
+ # 9. Invitee Specified Location:
55
+ # Information about an event location that’s specified by the invitee.
56
+ # @param [String] type The event location selected by the invitee.
57
+ # @param [String] location The event location description provided by the invitee.
40
58
  #
41
59
 
42
60
  # @return [String]
43
- attr_accessor :kind
61
+ attr_accessor :type
44
62
  # @return [String]
45
63
  attr_accessor :location
46
64
  # @return [String]
47
- attr_accessor :phone_number
48
- # @return [String]
49
- attr_accessor :external_id
65
+ attr_accessor :status
50
66
  # @return [String]
51
- attr_accessor :state
67
+ attr_accessor :join_url
52
68
  # @return [Hash]
53
69
  attr_accessor :data
54
70
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Calendly
4
- VERSION = '0.3.0'
4
+ VERSION = '0.4.0'
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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenji Koshikawa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-18 00:00:00.000000000 Z
11
+ date: 2020-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -154,7 +154,7 @@ metadata:
154
154
  homepage_uri: https://github.com/koshilife/calendly-api-ruby-client
155
155
  source_code_uri: https://github.com/koshilife/calendly-api-ruby-client
156
156
  changelog_uri: https://github.com/koshilife/calendly-api-ruby-client/blob/master/CHANGELOG.md
157
- documentation_uri: https://www.rubydoc.info/gems/calendly/0.3.0
157
+ documentation_uri: https://www.rubydoc.info/gems/calendly/0.4.0
158
158
  post_install_message:
159
159
  rdoc_options: []
160
160
  require_paths: