dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

WebHookService#format_response_headers

Make response headers more stylish
Net::HTTPHeader has downcased hash with arrays: { 'content-type' => ['text/html; charset=utf-8'] }
This method format response to capitalized hash with strings: { 'Content-Type' => 'text/html; charset=utf-8' }

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-WebHookService-format_response_headers-for-pr


# Commit to git

git add git commit -m "better docs for WebHookService#format_response_headers"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-WebHookService-format_response_headers-for-pr

hub pull-request


# Celebrate!