zipmark/rspec_api_documentation — pull request #29 by samwgoldman (2012-05-03 22:37:02+00:00)
Title: Split up DSL into resource/endpoint/callback concerns. Ref #28

No attempt was made to clean up the individual DSLs, but this should be a decent starting point to better define the boundaries.

One implication of this change is that the following is now illegal syntax:

resource "Orders" do
example_request "Getting an order" do
# assertions
end
end

This is a good thing, because the user has not specified what the endpoint should be.