Class: UrlExpander::Expanders::Nytims

Inherits:
Bitly
  • Object
show all
Defined in:
lib/url_expander/expanders/api/nytims.rb

Overview

Expand Newyork times Usage: UrlExpander::Client.expand(“nyti.ms/dzy2b7”)

Constant Summary collapse

PATTERN =
%r'(http://nyti\.ms/([\w/]+))'

Instance Attribute Summary

Attributes inherited from Bitly

#api_key, #login, #parent_klass

Attributes inherited from API

#long_url, #parent_klass, #parttern, #shortner_key

Method Summary

Methods inherited from Bitly

#initialize

Methods inherited from API

#initialize

Constructor Details

This class inherits a constructor from UrlExpander::Expanders::Bitly