Module: HTTPX::Plugins::Retries::InstanceMethods

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

Instance Method Summary collapse

Instance Method Details

#max_retries(n) ⇒ Object


40
41
42
# File 'lib/httpx/plugins/retries.rb', line 40

def max_retries(n)
  branch(default_options.with_max_retries(n.to_i))
end