Versions Compared

Key

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

...

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. Our app EventR uses this mechanism, here is the relevant code (in the form of a ActiveSupprt::Concern module and using Rails 4.1 config/secrets.yml)

...