lib/heroku/api/config_vars.rb in heroku-api-0.2.13 vs lib/heroku/api/config_vars.rb in heroku-api-0.3.0
- old
+ new
@@ -4,10 +4,10 @@
# DELETE /apps/:app/config_vars/:key
def delete_config_var(app, key)
request(
:expects => 200,
:method => :delete,
- :path => "/apps/#{app}/config_vars/#{key}"
+ :path => "/apps/#{app}/config_vars/#{escape(key)}"
)
end
# GET /apps/:app/config_vars
def get_config_vars(app)