WinRb / Viewpoint

A Ruby client access library for Microsoft Exchange Web Services (EWS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work with Rails console (4.2.10)

no-trick-pony opened this issue · comments

Trying the example in the rails console of Rails 4.2.10

include Viewpoint::EWS

endpoint = 'https://example.com/ews/Exchange.asmx'
user = 'username'
pass = 'password'

cli = Viewpoint::EWSClient.new endpoint, user, pass

fails with:

NameError: uninitialized constant Viewpoint::EWS::Connection::Logging
from /home/myusername/.rvm/gems/ruby-2.3.3@global/gems/viewpoint-1.1.0/lib/ews/connection.rb:36:in initialize'

In IRB it works fin though.