Module: HTTPX::Plugins::FollowRedirects::InstanceMethods
- Defined in:
- lib/httpx/plugins/follow_redirects.rb
Instance Method Summary collapse
Instance Method Details
#max_redirects(n) ⇒ Object
34 35 36 |
# File 'lib/httpx/plugins/follow_redirects.rb', line 34 def max_redirects(n) branch(.with_max_redirects(n.to_i)) end |