Class: UrlExpander::Expanders::Justas
- Defined in:
- lib/url_expander/expanders/basic/justas.rb
Overview
Expand just.as URLS Usage: UrlExpander::Client.expand(“just.as/amMF3i”)
Defined Under Namespace
Classes: Request
Constant Summary collapse
- PATTERN =
%r'(http://just\.as(/[\w/]+))'
Instance Attribute Summary collapse
-
#parent_klass ⇒ Object
readonly
Returns the value of attribute parent_klass.
Attributes inherited from Basic
Instance Method Summary collapse
-
#initialize(short_url = "", options = {}) ⇒ Justas
constructor
A new instance of Justas.
Constructor Details
#initialize(short_url = "", options = {}) ⇒ Justas
Returns a new instance of Justas.
12 13 14 15 |
# File 'lib/url_expander/expanders/basic/justas.rb', line 12 def initialize(short_url="", ={}) @parent_klass = self super(short_url, ) end |
Instance Attribute Details
#parent_klass ⇒ Object (readonly)
Returns the value of attribute parent_klass.
10 11 12 |
# File 'lib/url_expander/expanders/basic/justas.rb', line 10 def parent_klass @parent_klass end |