http

https://github.com/httprb/http

Ruby

HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts

HTTP::Retriable::DelayCalculator#calculate_delay_from_iteration

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:httprb/http.git

cd http

open lib/http/retriable/delay_calculator.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-HTTP--Retriable--DelayCalculator-calculate_delay_from_iteration-for-pr


# Commit to git

git add lib/http/retriable/delay_calculator.rbgit commit -m "better docs for HTTP::Retriable::DelayCalculator#calculate_delay_from_iteration"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-HTTP--Retriable--DelayCalculator-calculate_delay_from_iteration-for-pr

hub pull-request


# Celebrate!