Skip to content

Zuora.configure With :log => true Raises NoMethodError #32

@sshaw

Description

@sshaw

Using the .configure example from the README causes the following exception:

~/code/ruby/zoura-test >ruby run.rb
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from require at /Users/skyes/.rvm/rubies/ruby-2.2.5/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54)
/Users/skyes/.rvm/gems/ruby-2.2.5/gems/savon-2.3.3/lib/savon/request_logger.rb:29:in `log_request': undefined method `info' for nil:NilClass (NoMethodError)
    from /Users/skyes/.rvm/gems/ruby-2.2.5/gems/savon-2.3.3/lib/savon/request_logger.rb:11:in `log'
    from /Users/skyes/.rvm/gems/ruby-2.2.5/gems/savon-2.3.3/lib/savon/operation.rb:86:in `call_with_logging'
    from /Users/skyes/.rvm/gems/ruby-2.2.5/gems/savon-2.3.3/lib/savon/operation.rb:51:in `call'
    from /Users/skyes/.rvm/gems/ruby-2.2.5/gems/savon-2.3.3/lib/savon/client.rb:36:in `call'
    from /Users/skyes/.rvm/gems/ruby-2.2.5/gems/zuora-1.0.0/lib/zuora/api.rb:105:in `authenticate!'
    from /Users/skyes/.rvm/gems/ruby-2.2.5/gems/zuora-1.0.0/lib/zuora/api.rb:85:in `request'
    from /Users/skyes/.rvm/gems/ruby-2.2.5/gems/zuora-1.0.0/lib/zuora/soap_connector.rb:11:in `query'
    from /Users/skyes/.rvm/gems/ruby-2.2.5/gems/zuora-1.0.0/lib/zuora/objects/base.rb:82:in `all'
    from run.rb:10:in `<main>'

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