grape

https://github.com/ruby-grape/grape

Ruby

An opinionated framework for creating REST-like APIs in Ruby.

Grape::ErrorFormatter#select_formatter

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:ruby-grape/grape.git

cd grape

open lib/grape/error_formatter.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Grape--ErrorFormatter-select_formatter-for-pr


# Commit to git

git add lib/grape/error_formatter.rbgit commit -m "better docs for Grape::ErrorFormatter#select_formatter"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Grape--ErrorFormatter-select_formatter-for-pr

hub pull-request


# Celebrate!