lib/rancher/api/configuration.rb in rancher-api-0.6.0 vs lib/rancher/api/configuration.rb in rancher-api-0.7.0

- old
+ new

@@ -5,10 +5,10 @@ attr_accessor :access_key attr_accessor :secret_key attr_accessor :verbose def initialize - @url = "#{ENV['RANCHER_URL']}/v1/" if ENV['RANCHER_URL'].present? + @url = ENV['RANCHER_URL'] @access_key = ENV['RANCHER_ACCESS_KEY'] @secret_key = ENV['RANCHER_SECRET_KEY'] end end end