heroku/heroku.jar — pull request #54 by ryanbrainard (2012-06-21 06:12:53+00:00)
Title: Add isMaintenanceModeEnabled() and setMaintenanceMode() commands

These new commands are pretty straightforward from a technical perspective, but wanted to get an opinion on the naming of the classes and methods. The API is a bit weird on this call since the resource is "maintenance", POST param is "maintenance_mode", and GET JSON response has a single "maintenance" field. I made the request/response/model classes reflect the actual API calls and then made the facade translate this into the expected boolean getter/setter style.