module Webmachine

require “webmachine/adapters/webrick” # Commenting out this line as our monkey patch

Code to describe the routes in a Webmachine API, including path, resource class, allowed methods, schemas, policy class. Used in tests and in the pact_broker:routes task

Monkey patches the render_error method so that it returns hal+json or problem+json instead of text/html