Skip to content
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

README.md and UPGRADE.md update for #543, #545 #547

Merged
merged 1 commit into from
Jan 2, 2014

Conversation

bwalex
Copy link
Contributor

@bwalex bwalex commented Jan 2, 2014

No description provided.

@@ -374,6 +374,9 @@ end
```

Parameters can be nested using `group` or by calling `requires` or `optional` with a block.
With a block, `group`, `requires` and `optional` accept an additional option `type` which can
be either `Array` or `Hash`, and defaults to `Array`. Depending on the value, the nested
parameters will be treated either as values of a hash or as values of hashes in an array.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you maybe provide examples for type: Array and type: Hash?

@bwalex
Copy link
Contributor Author

bwalex commented Jan 2, 2014

Updated both with examples.

dblock added a commit that referenced this pull request Jan 2, 2014
README.md and UPGRADE.md update for #543, #545
@dblock dblock merged commit 53660aa into ruby-grape:master Jan 2, 2014
@dblock
Copy link
Member

dblock commented Jan 2, 2014

Merged, I might elaborate a few things before a future release.

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