Sha256: 0ec89eb8508fee9752af5079ef2fe68b0d7abb8f68a935afeec289f4481c9e57

Contents?: true

Size: 215 Bytes

Versions: 11

Compression:

Stored size: 215 Bytes

Contents

require './lib/unwind'

follower = Unwind::RedirectFollower.new('http://j.mp/xZVND1')
follower.resolve
follower.redirects.each {|url| puts "redirects to #{url}"}
puts follower.original_url
puts follower.final_url


Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
unwind-0.13.2 example/sample.rb
unwind-0.2.1 example/sample.rb
unwind-0.11.1 example/sample.rb
unwind-0.11.0 example/sample.rb
unwind-0.10.0 example/sample.rb
unwind-0.9.6 example/sample.rb
unwind-0.9.5 example/sample.rb
unwind-0.9.4 example/sample.rb
unwind-0.9.3 example/sample.rb
unwind-0.9.1 example/sample.rb
unwind-0.9.0 example/sample.rb