class UrlExpander::Expanders::Youtube

Expand Youtu.be URLS Usage: UrlExpander::Client.expand(“youtu.be/bINUfbLV_0M”) UrlExpander::Client.expand(“y2u.be/bINUfbLV_0M”)

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