Hi.

I'm new to this whole thing. I'm using Ruby on Rails and have created
a calendar that I want users on my site to be able to add their own
events to it.

After gem installing gdata and googlecalendar to my rails app, This is
what I have so far in my controller....

---------------------------------------------------
def add_event
    event = { :title     => params[:title],
                  :content   => params[:details],
                  :where     => params[:where],
                  :startTime => params[:start_time_value],
                  :endTime => params[end_time_value] }
    g = GData::Client::Calendar.new
    g.clientlogin("[email protected]","password")
    g.new_event(event)
end
-------------------------------------------------

Obviously there is no "new_event" method.... but what do I use
instead? how do I use it? thanks

Regards,
Witt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to