Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (22 loc) · 820 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 820 Bytes

Calendly Version 1.0.0

Instalation

add to Gemfile

gem 'calendly', git: '[email protected]:nurdymuny/calendly-ruby.git'

run bundle install

set token on config initializers/calendly.rb http://developer.calendly.com/v1/docs/getting-your-authentication-token

Calendly.configure do |config| config.token = put here calendly token end

Usage

http://developer.calendly.com

Calendly.test_authentication http://developer.calendly.com/docs/test-authentication-token

Calendly.webhook_subscription({url: 'url', events: ["invitee.created", "invitee.canceled"]}) http://developer.calendly.com/docs/webhook-subscriptions

Calendly.delete_webhook(hook_id) http://developer.calendly.com/docs/delete-webhook-subscription

Calendly.sample_invitee http://developer.calendly.com/docs/invitee-samples