class UrlExpander::Expanders::Tinyurl
Expand Tinyurl
URLS Usage: UrlExpander::Client.expand
(“tinyurl.com/66sekq5”)
Constants
- PATTERN
Attributes
parent_klass[R]
Public Class Methods
new(short_url="", options={})
click to toggle source
Calls superclass method
UrlExpander::Expanders::Basic::new
# File lib/url_expander/expanders/basic/tinyurl.rb, line 14 def initialize(short_url="", options={}) @parent_klass = self super(short_url, options) end