Skip to content

Split up DSL into resource/endpoint/callback concerns. Ref #28 #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2012

Conversation

samwgoldman
Copy link
Contributor

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.

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

oestrich commented May 4, 2012

Now to find a way to split up the dsl_spec file.

oestrich added a commit that referenced this pull request May 4, 2012
Split up DSL into resource/endpoint/callback concerns. Ref #28
@oestrich oestrich merged commit fc17db7 into master May 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants