Skip to content
Exchange Web Services API. It doesn't use soap4r.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.document
.gitignore
LICENSE
README.rdoc
Rakefile
VERSION
ews-api.gemspec

README.rdoc

ews-api

Exchange Web Services API.

Configuration

Set the endpoint

EWS::Service.endpoint :uri => 'https://example.com/ews/exchange.asmx',
                      :version => 1

Set the credentials if the service requires autentication. NTLM is known to work.

EWS::Service.set_auth 'testuser', 'xxxxxx'

Testing

Typically it isn't a good idea for tests to depend on external resources. This project is in its early days and I am new to EWS. So as to make it easier to implement the service the tests depend on connecting to EWS.

If spec/test-config exists it will be loaded and the +EWS::Service+ will be configured.

The config file is ignored via .gitignore.

Example spec/test-config.yml

# Example spec/test-config.yml
endpoint:
  :uri: 'https://localhost/ews/exchange.asmx'
  :version: 1
username: testuser
password: xxxxxx

Copyright

Copyright © 2009 Jeremy Burks. See LICENSE for details.

Something went wrong with that request. Please try again.