Event.save doesn't work?

12 views
Skip to first unread message

Andreas Wederbrand

unread,
Jan 16, 2013, 6:01:01 PM1/16/13
to gcal...@googlegroups.com
Hi!

I'm trying out GCal4Ruby in the hopes of creating calendar events through a ruby script.

I've got version 0.5.5 (latest?).

I'm able authenticate, get a list of calendars and choose the right one.

However, when I try to add a new event and save it I get an error.

This is how my code looks.

event = Event.new(cal)
event.title = 'lunch'
event.start_time = '2013-01-01 10:00:00'
event.end_time = '2013-01-01 10:00:00'
event.where = 'some location'
event.save

save gives an error
NoMethodError: undefined method ‘editable’ for nil:NilClass

method save    in event.rb at line 224

I'm I doing it wrong?


Reply all
Reply to author
Forward
0 new messages