grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
Grape::DSL::Settings#namespace_start
Fork our inheritable settings to a new instance, copied from our parent's, but separate so we won't modify it. Every call to this method should have an answering call to #namespace_end.
Edit
git clone [email protected]:intridea/grape.git
cd grape
open lib/grape/dsl/settings.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Grape--DSL--Settings-namespace_start-for-pr
# Commit to gitgit add lib/grape/dsl/settings.rbgit commit -m "better docs for Grape::DSL::Settings#namespace_start"
# 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--Settings-namespace_start-for-pr
hub pull-request
# Celebrate!