Sha256: 088d9fa13c22c1165eb7e72f590c6ccc45d7b8421a173aac860351cb598688f8

Contents?: true

Size: 447 Bytes

Versions: 5

Compression:

Stored size: 447 Bytes

Contents

# -*- coding: utf-8 -*-
require 'rubygems'
require 'vortex_client'

@vortex = Vortex::Connection.new("https://nyweb1-dav.uio.no/")
@vortex.cd('/konv/personer_test/')

person = Vortex::Person.new(:user => 'herman',
                            :image => '/konv/personer_test/placeholder.jpg',
                            :language => :english,
                            :scientific => true)

url = @vortex.publish(person)
puts "Published: " + url

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vortex_client-0.7.3 examples/person_presentation.rb
vortex_client-0.7.2 examples/person_presentation.rb
vortex_client-0.7.0 examples/person_presentation.rb
vortex_client-0.6.0 examples/person_presentation.rb
vortex_client-0.5.9 examples/person_presentation.rb