lib/heroku/api/config_vars.rb in heroku-api-0.2.7 vs lib/heroku/api/config_vars.rb in heroku-api-0.2.8
- old
+ new
@@ -20,10 +20,10 @@
end
# PUT /apps/:app/config_vars
def put_config_vars(app, vars)
request(
- :body => Heroku::API.json_encode(vars),
+ :body => Heroku::API::OkJson.encode(vars),
:expects => 200,
:method => :put,
:path => "/apps/#{app}/config_vars"
)
end