Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.52 KB

event.md

File metadata and controls

62 lines (40 loc) · 1.52 KB

Event Calendlyr::Event

Information about a scheduled meeting.

Visit official API Doc

Client requests

Retrieve

Returns information about a specified Event.

Visit official API Doc

client.events.retrieve(uuid: uuid)
#=> #<Calendlyr::Event>

List

Returns a list of Events.

Visit official API Doc

client.events.list(organization: organization, user: user)
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Event>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>

client.events.list(organization: organization, group: group)
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Event>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>

client.events.list(user: user)
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Event>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>

Cancel

Cancels specified event.

Visit official API Doc

client.events.cancel(uuid: event_uuid, reason: "I'm bussy")
#=> #<Calendlyr::Events::Cancellation>

Object methods

Memberships

event.memberships
#=> [#<Calendlyr::User>, ...]

Cancel

event.cancel(reason: "I'm bussy")
#=> #<Calendlyr::Events::Cancellation>