Displaying 1 result from an estimated 1 matches for "ics2event".
2013 Mar 15
2
Icalendar.Parse(StringIO.new(aString)) complains about missing method, bytesize
...o send an ics file to a web service, so however it gets there it
will arrive as a string. Is there another way to begin Icalendar''s Parse
than with a file?
I''m currently sending the file using the curl command...
curl -v --data-urlencode ics at invite.ics http://127.0.0.1:4567/ics2event
I''ve tried curl''s --data-binary and sinatra''s request.body.string to
create the stringio object, without luck.
Ultimately it complains
NoMethodError at /ics2event
undefined method `bytesize'' for #<Icalendar::Calendar:0x9c8b1b8>
file: component.rb locatio...