simple wrapper for google calendar api for ruby
Before you are ready to start developing on the project there are a couple steps to follow
- make sure you have a google account... DUH
- make sure you enable the account to access your google calendar, you can find directions for that here
- download your client_secret.json file into the project directory, these will authenticate you. Dont worry the .gitignore will ignore this file
- run your tests with the following command inside the directory
rake spec
NOTE: if you get the following output from running your tests
Open the following url in the browser ............
- you need to cancel your tests
- run
./bin/console
- in the irb console you need to run the following
Googlecal::Base.new('')
- the url should print out to the console, open the url in your browser and then use the code that is in the webpage and paste it into the irb console to authenticate you.
Then you are clear to start running tests
- install rdoc with
gem install rdoc
- generate the docs by running this command in the project directory
rdoc