lib/rancher/api/configuration.rb in rancher-api-0.3.6 vs lib/rancher/api/configuration.rb in rancher-api-0.3.7

- old
+ new

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