lib/tracker_api/client.rb in tracker_api-0.2.0 vs lib/tracker_api/client.rb in tracker_api-0.2.1

- old
+ new

@@ -22,10 +22,10 @@ # Client.new token: 'my-super-special-token' def initialize(options={}) url = options.fetch(:url, 'https://www.pivotaltracker.com') @url = Addressable::URI.parse(url).to_s @api_version = options.fetch(:api_version, '/services/v5') - @logger = options.fetch(:logger, Logger.new(nil)) + @logger = options.fetch(:logger, ::Logger.new(nil)) adapter = options.fetch(:adapter, :net_http) connection_options = options.fetch(:connection_options, { ssl: { verify: true } }) @auto_paginate = options.fetch(:auto_paginate, true) @token = options[:token] raise 'Missing required options: :token' unless @token