lib/heroku/api/apps.rb in heroku-api-0.1.0 vs lib/heroku/api/apps.rb in heroku-api-0.1.1
- old
+ new
@@ -37,10 +37,10 @@
:query => app_params(params)
)
end
# POST /apps/:app/server/maintenance
- def post_app_server_maintenance(app, new_server_maintenance)
+ def post_app_maintenance(app, maintenance_mode)
request(
:expects => 200,
:method => :post,
:path => "/apps/#{app}/server/maintenance",
:query => {'maintenance_mode' => maintenance_mode}