lib/ids_please/youtube.rb in ids_please-1.0.6 vs lib/ids_please/youtube.rb in ids_please-1.1.0

- old
+ new

@@ -1,9 +1,11 @@ class IdsPlease class Youtube < IdsPlease::BaseParser MASK = /youtu\.be|youtube/i + private + def self.parse_link(link) if link.path =~ /channels|user/ link.path.split('/')[2] else link.path.split('/')[1]