This is a mock version of SlamAPI implemented in Sinatra.
Fast development!
More specifically, it is useful for:
- Mocking out an endpoint before it exists.
- Quickly changing an endpoint's response while your are actively developing a new feature against the endpoint.
- Eventually, high level testing that makes real HTTP requests, albeit against a mock server.
bundle installruby server.rbopen http://localhost:4567/current_queue
| HTTP Method | Endpoint | Description |
|---|---|---|
| GET | /current_queue | Fetch the list of matches in the queue |