Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Share your calendar with the service account

Your service account will need to have access to the Google Calendar of the calendar user, to do this:

  1. Sign in to the account of which you want to share the Google Calendar.
  2. Visit Google Calendar
  3. Click on 'edit settings'

 

Delegate domain-wide authority to your service account

 

 

Setup your rails environment

  1. Install gem 'google-api-client'
  2. Copy private key to your local folder and set proper permissions
  3. In your ruby code, the parameters you pass should contain calendarId (primary) and person (the email address of the calendar user)
  4. See EventR for a working code sample