lib/heroku/api/releases.rb in heroku-api-0.2.4 vs lib/heroku/api/releases.rb in heroku-api-0.2.5

- old
+ new

@@ -18,10 +18,10 @@ :path => "/apps/#{app}/releases/#{release}" ) end # POST /apps/:app/releases/:release - def post_release(app, release) + def post_release(app, release=nil) request( :expects => 200, :method => :post, :path => "/apps/#{app}/releases", :query => {'rollback' => release}