class TwitterRetry::Config
Attributes
ignorable_errors[RW]
@!attribute ignorable_errors
@return [Array<String>]
max_retry_count[RW]
@!attribute max_retry_count
@return [Integer]
retryable_errors[RW]
@!attribute retryable_errors
@return [Array<String>]
sleep_second[RW]
@!attribute sleep_second
@return [Integer]
Public Class Methods
new()
click to toggle source
# File lib/twitter_retry/config.rb, line 31 def initialize @max_retry_count = 3 @sleep_second = 1 @retryable_errors = DEFAULT_RETRYABLE_ERRORS @ignorable_errors = DEFAULT_IGNORABLE_ERRORS end