-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[65715] Add Event conferencing support (#320)
This PR enables support for the new Nylas Conference Sync (Beta) feature as well as support for auto generating conference details. If you have an integration authorized and enabled for your Nylas account you can provide an autocreate object instead of a details object to have the Nylas API autofill the conferencing details.
- Loading branch information
1 parent
e235fb5
commit 3060b56
Showing
9 changed files
with
179 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# frozen_string_literal: true | ||
|
||
module Nylas | ||
# Structure to represent the Event Conferencing object | ||
# @see https://developer.nylas.com/docs/connectivity/calendar/conference-sync-beta | ||
class EventConferencing | ||
include Model::Attributable | ||
attribute :provider, :string | ||
attribute :details, :event_conferencing_details | ||
attribute :autocreate, :event_conferencing_autocreate | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# frozen_string_literal: true | ||
|
||
module Nylas | ||
# Structure to represent the autocreate object within the Event Conferencing object | ||
# @see https://developer.nylas.com/docs/connectivity/calendar/conference-sync-beta | ||
class EventConferencingAutocreate | ||
include Model::Attributable | ||
attribute :settings, :hash, default: {} | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# frozen_string_literal: true | ||
|
||
module Nylas | ||
# Structure to represent the details object within the Event Conferencing object | ||
# @see https://developer.nylas.com/docs/connectivity/calendar/conference-sync-beta | ||
class EventConferencingDetails | ||
include Model::Attributable | ||
attribute :meeting_code, :string | ||
attribute :password, :string | ||
attribute :pin, :string | ||
attribute :url, :string | ||
has_n_of_attribute :phone, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters