lib/goauth2/calendar.rb in goauth2-0.0.4 vs lib/goauth2/calendar.rb in goauth2-0.0.5

- old
+ new

@@ -1,15 +1,15 @@ module Goauth2 class Client - def all_calendars - _get_jsonc 'https://www.google.com/calendar/feeds/default/allcalendars/full' + def all_calendars(params = {}) + _get_jsonc('https://www.google.com/calendar/feeds/default/allcalendars/full', params) end - def own_calendars - _get_jsonc 'https://www.google.com/calendar/feeds/default/owncalendars/full' + def own_calendars(params = {}) + _get_jsonc('https://www.google.com/calendar/feeds/default/owncalendars/full', params) end - def events(event_feed) - _get_jsonc event_feed + def events(event_feed, params = {}) + _get_jsonc(event_feed, params) end end -end \ No newline at end of file +end