From d84ec13a13dbca7bd4960cba80a8fa150d7b8996 Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Wed, 3 May 2017 01:40:29 +0530 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b070451..a02c6bc 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ Or install it yourself as: ## Usage +```ruby +FinalRedirectUrl.final_redirect_url('http://www.google.com') +``` + Usually the gem checks for redirect upto 10 depth level. However you can pass `{depth: 20}` to check redirects upto `20` depth. ## Contributing