lib/heroku/api.rb in heroku-api-0.3.2 vs lib/heroku/api.rb in heroku-api-0.3.3
- old
+ new
@@ -39,9 +39,10 @@
@api_key = options.delete(:api_key) || ENV['HEROKU_API_KEY']
user_pass = ":#{@api_key}"
options = {
:headers => {},
:host => 'api.heroku.com',
+ :nonblock => false,
:scheme => 'https'
}.merge(options)
options[:headers] = {
'Accept' => 'application/json',
'Accept-Encoding' => 'gzip',