Class: GoogleCalendar::ServiceAuthSub
- Inherits:
-
ServiceBase
- Object
- ServiceBase
- GoogleCalendar::ServiceAuthSub
- Defined in:
- lib/googlecalendar/service_auth_sub.rb
Overview
this class interacts with Google Calendar and uses AuthSub interface for authentication.
Constant Summary
Constants inherited from ServiceBase
GoogleCalendar::ServiceBase::AUTH_SERVER, GoogleCalendar::ServiceBase::CALENDAR_LIST_PATH
Instance Attribute Summary
Attributes inherited from ServiceBase
Instance Method Summary collapse
-
#initialize(token) ⇒ ServiceAuthSub
constructor
A new instance of ServiceAuthSub.
Methods inherited from ServiceBase
#calendar_list, #delete, #insert, proxy_addr, proxy_addr=, proxy_pass, proxy_pass=, proxy_port, proxy_port=, proxy_user, proxy_user=, #query, #update
Constructor Details
#initialize(token) ⇒ ServiceAuthSub
Returns a new instance of ServiceAuthSub.
9 10 11 |
# File 'lib/googlecalendar/service_auth_sub.rb', line 9 def initialize(token) @auth = token end |