Module: GoogleCalendar::Connection

Included in:
Calendar, Client, Event
Defined in:
lib/google_calendar_oauth2/connection.rb

Instance Method Summary collapse

Instance Method Details

#clientObject



7
8
9
# File 'lib/google_calendar_oauth2/connection.rb', line 7

def client
  @client = GoogleCalendar.connection.discovered_api('calendar', 'v3')
end

#connectionObject



3
4
5
# File 'lib/google_calendar_oauth2/connection.rb', line 3

def connection
  @connection = GoogleCalendar.connection
end