Skip to content

Does not work with Rails console (4.2.10) #273

@no-trick-pony

Description

@no-trick-pony

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions