lib/sorenson/services/base.rb in 360_services-0.0.7 vs lib/sorenson/services/base.rb in 360_services-0.0.8

- old
+ new

@@ -21,10 +21,10 @@ def self.login_no_resource(username, password) RestClient.post(host + "/sessions", :username => username, :password => password) end def self.host - host = ['development', 'test', 'cucumber'].include?(ENV['RAILS_ENV']) ? 'http://localhost:3001' : 'http://360services.sorensonmedia.com' + host = ['development', 'test', 'cucumber'].include?(RAILS_ENV) ? 'http://localhost:3001' : 'http://360services.sorensonmedia.com' host end def self.post_to(url, payload = {}) verify_account_settings \ No newline at end of file