grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
Grape::DSL::Parameters#declared_param?
Test for whether a certain parameter has been defined in this params block yet.
Edit
git clone [email protected]:intridea/grape.git
cd grape
open lib/grape/dsl/parameters.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Grape--DSL--Parameters-declared_param--for-pr
# Commit to gitgit add lib/grape/dsl/parameters.rbgit commit -m "better docs for Grape::DSL::Parameters#declared_param?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Grape--DSL--Parameters-declared_param--for-pr
hub pull-request
# Celebrate!