Class: IdsPlease::Parsers::Tumblr
- Defined in:
- lib/ids_please/parsers/tumblr.rb
Constant Summary collapse
- MASK =
/tumblr/i
Class Method Summary collapse
Methods inherited from Base
interact, to_sym, valid_id_regex
Class Method Details
.parse_link(link) ⇒ Object
8 9 10 11 |
# File 'lib/ids_please/parsers/tumblr.rb', line 8 def parse_link(link) return if link.host.sub('.tumblr.com', '') == link.host link.host.sub('.tumblr.com', '') end |