gdi / ruby-zimbra Goto Github PK
View Code? Open in Web Editor NEWa ruby gem for interacting with Zimbra's SOAP interface, built on Handsoap.
a ruby gem for interacting with Zimbra's SOAP interface, built on Handsoap.
EXAMPLE USAGE ============= Zimbra.admin_api_url = 'https://mail.server.test:7071/service/admin/soap' Zimbra.account_api_url = 'https://mail.server.test/service/soap' Zimbra.login('[email protected]','secret') d = Zimbra::Domain.create('luser.com') dl = Zimbra::DistributionList.create('[email protected]') dl.admin_group = true dl.save Zimbra.account_login('[email protected]') calendar = Zimbra::Calendar.all.first appointment = calendar.appointments.first
@spikex Do you make me a favor?, I am recent start on Ruby Rails programming. On rails clean and new App, what is first stage to require and use this Gem, for example simple rails app to Create zimbra account.
Any idea how to get this to work with self-signed certificates?
I'm running into the following error:
~/.rvm/gems/ruby-1.9.3-p194/gems/curb-0.8.5/lib/curl/easy.rb:62:in `perform': Curl::Err::SSLCACertificateError (Curl::Err::SSLCACertificateError)
from ~/.rvm/gems/ruby-1.9.3-p194/gems/handsoap-1.4.0/lib/handsoap/http/drivers/curb_driver.rb:59:in `http_post'
from ~/.rvm/gems/ruby-1.9.3-p194/gems/handsoap-1.4.0/lib/handsoap/http/drivers/curb_driver.rb:59:in `send_http_request'
from ~/.rvm/gems/ruby-1.9.3-p194/gems/handsoap-1.4.0/lib/handsoap/service.rb:262:in `invoke'
from ~/.rvm/gems/ruby-1.9.3-p194/gems/zimbra-0.0.6/lib/zimbra/auth.rb:21:in `login'
from ~/.rvm/gems/ruby-1.9.3-p194/gems/handsoap-1.4.0/lib/handsoap/service.rb:202:in `method_missing'
from ~/.rvm/gems/ruby-1.9.3-p194/gems/zimbra-0.0.6/lib/zimbra/auth.rb:4:in `login'
from ~/.rvm/gems/ruby-1.9.3-p194/gems/zimbra-0.0.6/lib/zimbra.rb:70:in `reset_login'
from ~/.rvm/gems/ruby-1.9.3-p194/gems/zimbra-0.0.6/lib/zimbra.rb:65:in `login'
from zimbra.rb:5:in `<main>'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.