Class GoogleCalendar::ServiceAuthSub
In: lib/googlecalendar/service_auth_sub.rb
Parent: ServiceBase

this class interacts with Google Calendar and uses AuthSub interface for authentication.

Methods

Public Class methods

[Source]

    # File lib/googlecalendar/service_auth_sub.rb, line 9
 9:     def initialize(token)
10:       @auth = token
11:     end

Private Instance methods

[Source]

    # File lib/googlecalendar/service_auth_sub.rb, line 14
14:     def add_authorize_header(header)
15:       header["Authorization"] = "AuthSub token=#{@auth}"
16:     end

[Validate]