Skip to content

Instantly share code, notes, and snippets.

Before next release:
- Brain needs an error handler. Consider #vanguard
- Automated tests for everything
- Lock/unlock/enable/disable
- Claim
- GET /claim?token=123 (Jira)
- POST /api/v1/stacks/claim (Hubot)
- Deploy/rollback
- Webhooks from GH, Jira, and Brain
<?php
class Customer {
protected $machine;
public function __construct($machine) {
$this->machine = $machine;
}
public function purchase($shelf) {