Module: HTTPX::Plugins::Retries::InstanceMethods
- Defined in:
- lib/httpx/plugins/retries.rb
Instance Method Summary collapse
Instance Method Details
#max_retries(n) ⇒ Object
38 39 40 |
# File 'lib/httpx/plugins/retries.rb', line 38 def max_retries(n) branch(.with_max_retries(n.to_i)) end |