Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Rails console (4.2.10) #273

Open
no-trick-pony opened this issue Jul 5, 2018 · 0 comments
Open

Does not work with Rails console (4.2.10) #273

no-trick-pony opened this issue Jul 5, 2018 · 0 comments

Comments

@no-trick-pony
Copy link

no-trick-pony commented Jul 5, 2018

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.

@no-trick-pony no-trick-pony changed the title Does not work with Rails (4.2.10) Does not work with Rails console (4.2.10) Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant