Class: Calendlyr::DataComplianceResource

Inherits:
Resource
  • Object
show all
Defined in:
lib/calendlyr/resources/data_compliance.rb

Constant Summary

Constants inherited from Resource

Resource::ERROR_CODES

Instance Attribute Summary

Attributes inherited from Resource

#client

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from Calendlyr::Resource

Instance Method Details

#delete_invitee_data(emails:) ⇒ Object



3
4
5
# File 'lib/calendlyr/resources/data_compliance.rb', line 3

def delete_invitee_data(emails:)
  post_request("data_compliance/deletion/invitees", body: {emails: emails})
end

#delete_scheduled_event_data(start_time:, end_time:) ⇒ Object



7
8
9
# File 'lib/calendlyr/resources/data_compliance.rb', line 7

def delete_scheduled_event_data(start_time:, end_time:)
  post_request("data_compliance/deletion/events", body: {start_time: start_time, end_time: end_time})
end