take2 (rubygems): Retry failed API calls, methods or blocks of code. Define take2 retry behavior on a class or method level and you good to go.
Keywords: error-recovery|retry|retry-pattern|retrying|ruby|ruby-on-rails