# File lib/heroku/client.rb, line 33 def self.auth(user, password, host=Heroku::Auth.default_host) client = new(user, password, host) json_decode client.post('/login', { :username => user, :password => password }, :accept => 'json').to_s end