This class acts as a Ruby dav client. First Goal is to sync sogo with RoR apps First release allow to connect to sogo address book INSTALL : > gem install simple_dav USE : Example: include SimpleDav server = "mysogoserver.net" ab = "personal" user = "user" pass = "secret" adb = AddressBook.new(ab, :server => server,:verify => false, :ssl => true, :user => user, :pass => pass, :type => "sogo") cards = Card.where(:email => "od@idfuze.com") card = cards.first card.to_s > PRODID:-//IDFuze//SimpleDav//EN > VERSION:3.0 > CLASS:PUBLIC > PROFILE:VCARD > N:titi > EMAIL:od@idfuze.com > UID:38294-1348845607-45923.vcf > END:VCARD card.update(:n => "Olivier", :fn => "dev") > PRODID:-//IDFuze//SimpleDav//EN > VERSION:3.0 > CLASS:PUBLIC > PROFILE:VCARD > N:Olivier > EMAIL:od@idfuze.com > UID:38294-1348845607-45923.vcf > FN:dev > END:VCARD card.uid > "UID:38294-1348845607-45923.vcf" card.delete Many thanks to SOGo team you make a wonderfull work and i really want to add a little brick with that ! Copyright (c) 2012 IDFUZE.COM / Olivier DIRRENBERGER
Project
simple_dav
Access your sogo dav server from ruby to sync contacts, events and tasks
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
Development
Dependencies
Runtime
>= 2.2.1
>= 1.5.0
Project Readme