Class: Googlecal::GCalendar

Inherits:
Base
  • Object
show all
Defined in:
lib/googlecal/gcalendar.rb

Constant Summary

Constants inherited from Base

Base::OOB_URL

Instance Attribute Summary

Attributes inherited from Base

#credentials, #default_calendar

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#create_event, #delete_event, events, #get_event

Constructor Details

#initializeGCalendar

initialize



6
7
# File 'lib/googlecal/gcalendar.rb', line 6

def initialize()
end

Class Method Details

.allObject



21
22
23
# File 'lib/googlecal/gcalendar.rb', line 21

def self.all
  service.list_calendar_lists
end

.find(calendar_id) ⇒ Object



17
18
19
# File 'lib/googlecal/gcalendar.rb', line 17

def self.find(calendar_id)
  # find by goole calendar id
end

Instance Method Details

#deleteObject



9
10
11
# File 'lib/googlecal/gcalendar.rb', line 9

def delete
  # delete calendar
end

#update(params) ⇒ Object



13
14
15
# File 'lib/googlecal/gcalendar.rb', line 13

def update(params)
  # delta update
end