class UrlExpander::Expanders::T11me

Expand t11.me URLS Usage: UrlExpander::Client.expand(“t11.me/YZI-Y6”)

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/t11me.rb, line 12
def initialize(short_url="", options={})
  @parent_klass = self
  super(short_url, options)
end

Public Instance Methods

fetch_url(path) click to toggle source
Calls superclass method UrlExpander::Expanders::Basic#fetch_url
# File lib/url_expander/expanders/basic/t11me.rb, line 17
def fetch_url(path)
  super("/shortlink#{path}")
end