grape
https://github.com/ruby-grape/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
Grape::ServeStream::FileBody#to_path
No Docs, write some!
Edit
git clone [email protected]:ruby-grape/grape.git
cd grape
open lib/grape/serve_stream/file_body.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Grape--ServeStream--FileBody-to_path-for-pr
# Commit to gitgit add lib/grape/serve_stream/file_body.rbgit commit -m "better docs for Grape::ServeStream::FileBody#to_path"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Grape--ServeStream--FileBody-to_path-for-pr
hub pull-request
# Celebrate!