Sha256: 15d47f1d83734edb5e145b619692029474cc91debda0b9b1b3fd3745372d73e3
Contents?: true
Size: 731 Bytes
Versions: 13
Compression:
Stored size: 731 Bytes
Contents
require 'rubygems' require 'vortex_client' include Vortex vortex = Vortex::Connection.new("https://vortex-dav.uio.no/") vortex.cd('/brukere/thomasfl/events/') event = HtmlEvent.new(:title => "My Sample Event 1", :introduction => "Sample event introduction", :body => "<p>Hello world</p>", :startDate => "19.06.2010 17:56", :endDate => "19.06.2010 19:00", :location => "Forskningsveien 3B", :mapUrl => "http://maps.google.com/123", :tags => ["vortex","testing","ruby"], :publishedDate => Time.now ) path = vortex.publish(event) puts "published " + path
Version data entries
13 entries across 12 versions & 1 rubygems