Class: DefaultExpander
- Inherits:
-
Object
- Object
- DefaultExpander
- Defined in:
- lib/uncoil/expanders/default_expander.rb
Class Method Summary collapse
Class Method Details
.expand(short_url) ⇒ Object
6 7 8 9 |
# File 'lib/uncoil/expanders/default_expander.rb', line 6 def (short_url) response = Typhoeus.head(short_url, :followlocation => true) location_from_response(response) end |