We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Against what the README @ master is telling us the parameter group does not allow to pass an type argument:
group
type
group :documents, type: Hash do requires :filename requires :content end
Error:
lib/grape/validations.rb:135:in `group': wrong number of arguments (2 for 1) (ArgumentError)
Whereas it's working with optional parameter without any problems.
optional
I'm using the source from master and ruby 2.1.1
The text was updated successfully, but these errors were encountered:
286b82a
No branches or pull requests
Against what the README @ master is telling us the parameter
group
does not allow to pass antype
argument:Error:
Whereas it's working with
optional
parameter without any problems.I'm using the source from master and ruby 2.1.1
The text was updated successfully, but these errors were encountered: