Class: Calendlyr::Webhooks::InviteePayload

Inherits:
Object
  • Object
show all
Defined in:
lib/calendlyr/objects/webhooks/invitee_payload.rb

Instance Method Summary collapse

Methods inherited from Object

#extract_uuid, #get_slug, get_slug, #initialize, #to_ostruct

Constructor Details

This class inherits a constructor from Calendlyr::Object

Instance Method Details

#associated_eventObject



3
4
5
# File 'lib/calendlyr/objects/webhooks/invitee_payload.rb', line 3

def associated_event
  client.events.retrieve(uuid: get_slug(event))
end

#associated_invitee_no_showObject



11
12
13
# File 'lib/calendlyr/objects/webhooks/invitee_payload.rb', line 11

def associated_invitee_no_show
  client.events.retrieve_invitee_no_show(uuid: get_slug(no_show.uri))
end

#associated_routing_form_submissionObject



7
8
9
# File 'lib/calendlyr/objects/webhooks/invitee_payload.rb', line 7

def associated_routing_form_submission
  client.routing_forms.retrieve_submission(uuid: get_slug(routing_form_submission))
end