Module: GoogleOAuth
- Defined in:
- lib/google_oauth.rb,
lib/google_oauth/mail.rb,
lib/google_oauth/client.rb,
lib/google_oauth/calendar.rb,
lib/google_oauth/contacts.rb,
lib/google_oauth/document.rb,
lib/google_oauth/calendar/acl.rb,
lib/google_oauth/calendar/color.rb,
lib/google_oauth/calendar/event.rb,
lib/google_oauth/calendar/setting.rb,
lib/google_oauth/calendar/calendar.rb,
lib/google_oauth/calendar/free_busy.rb,
lib/google_oauth/calendar/calendar_list.rb
Overview
require “google_oauth/mail”
Defined Under Namespace
Modules: Calendar, Contacts, Document, Mail Classes: Client
Class Attribute Summary collapse
-
.client_id ⇒ Object
Returns the value of attribute client_id.
-
.client_secret ⇒ Object
Returns the value of attribute client_secret.
-
.host ⇒ Object
Returns the value of attribute host.
-
.scope ⇒ Object
Returns the value of attribute scope.
Class Method Summary collapse
Class Attribute Details
.client_id ⇒ Object
Returns the value of attribute client_id.
9 10 11 |
# File 'lib/google_oauth.rb', line 9 def client_id @client_id end |
.client_secret ⇒ Object
Returns the value of attribute client_secret.
9 10 11 |
# File 'lib/google_oauth.rb', line 9 def client_secret @client_secret end |
.host ⇒ Object
Returns the value of attribute host.
9 10 11 |
# File 'lib/google_oauth.rb', line 9 def host @host end |
.scope ⇒ Object
Returns the value of attribute scope.
9 10 11 |
# File 'lib/google_oauth.rb', line 9 def scope @scope end |
Class Method Details
.client(opts) ⇒ Object
16 17 18 |
# File 'lib/google_oauth.rb', line 16 def client(opts) client.new(opts) end |
.configure {|_self| ... } ⇒ Object
11 12 13 14 |
# File 'lib/google_oauth.rb', line 11 def configure yield self true end |