Class: Java::ComGoogleGdataClientCalendar::CalendarService

Inherits:
Object
  • Object
show all
Defined in:
lib/calendar_service.rb

Constant Summary collapse

ALL_CALENDAR_URL =
'http://www.google.com/calendar/feeds/default/allcalendars/full'
OWN_CALENDAR_URL =
'http://www.google.com/calendar/feeds/default/owncalendars/full'
DEFAULT_CALENDAR_URI =
'http://www.google.com/calendar/feeds/default/private/full'

Instance Method Summary collapse

Instance Method Details

#find_calendar_entry(options) ⇒ Object



28
29
30
# File 'lib/calendar_service.rb', line 28

def find_calendar_entry(options)
  find_entry(options, GData::CalendarEntry)
end

#find_calendars_feed(options) ⇒ Object



16
17
18
# File 'lib/calendar_service.rb', line 16

def find_calendars_feed(options)
  find_feed(options, GData::CalendarFeed)
end

#find_entry(options, klass = GData::CalendarEntry) ⇒ Object



24
25
26
# File 'lib/calendar_service.rb', line 24

def find_entry(options, klass = GData::CalendarEntry)
  super(options.merge({:class => klass}))
end

#find_event_entry(options) ⇒ Object



32
33
34
# File 'lib/calendar_service.rb', line 32

def find_event_entry(options)
  find_entry(options, GData::CalendarEventEntry)
end

#find_events_feed(options) ⇒ Object



20
21
22
# File 'lib/calendar_service.rb', line 20

def find_events_feed(options)
  find_feed(options, GData::CalendarEventFeed)
end

#find_feed(options, klass = GData::CalendarFeed) ⇒ Object



12
13
14
# File 'lib/calendar_service.rb', line 12

def find_feed(options, klass = GData::CalendarFeed)
  super(options.merge({:class => klass}))
end