by Mark Quezada I'm an entrepreneur, engineer, and user experience designer based out of beautiful Honolulu, Hawaii. Friday, 25 May 2012 Recently, I had to write some Ruby code that would publish data to an API endpoint. Sometimes this endpoint would fail due to bad network conditions so I wanted to retry the request a few times before marking the attempt as failed. Ruby has a very nice syntax for