lib/ids_please/parsers/twitter.rb in ids_please-2.2.0 vs lib/ids_please/parsers/twitter.rb in ids_please-2.2.1
- old
+ new
@@ -3,11 +3,9 @@
class Twitter < IdsPlease::Parsers::Base
MASK = /twitter/i
class << self
- private
-
def parse_link(link)
if link.path =~ /%23!/
id = link.path.sub(/\A\/%23!\//, '')
id.split(/[\/\?#]/).first
else