Module: HTTPX::Plugins::Retries::RequestMethods

Defined in:
lib/httpx/plugins/retries.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#retriesObject

Returns the value of attribute retries.



73
74
75
# File 'lib/httpx/plugins/retries.rb', line 73

def retries
  @retries
end

Instance Method Details

#initialize(*args) ⇒ Object



75
76
77
78
# File 'lib/httpx/plugins/retries.rb', line 75

def initialize(*args)
  super
  @retries = @options.max_retries
end