-
Notifications
You must be signed in to change notification settings - Fork 89
Logging In
tpitale edited this page Aug 13, 2010
·
8 revisions
Garb::Session.access_token = access_token
Read more: OAuth Session
Garb::Session.login('username', 'password')
The login method now takes an options hash, which allows setting the account type like so (still defaults to HOSTED_OR_GOOGLE):
Garb::Session.login('username', 'password', :account_type => "GOOGLE")
You can now move on to getting Profiles and Building a Report.
Garb::Session.login('username', 'password', :secure => true)
Download http://curl.haxx.se/ca/cacert.pem into your application.
Point the constant:
CA_CERT_FILE