lib/ids_please/parsers.rb in ids_please-2.0.0.beta2 vs lib/ids_please/parsers.rb in ids_please-2.1.0
- old
+ new
@@ -15,10 +15,11 @@
require_relative 'parsers/youtube'
require_relative 'parsers/soundcloud'
require_relative 'parsers/vkontakte'
require_relative 'parsers/odnoklassniki'
require_relative 'parsers/moikrug'
+require_relative 'parsers/mailru'
class IdsPlease
module Parsers
NETWORKS = {
@@ -37,10 +38,11 @@
soundcloud: IdsPlease::Parsers::Soundcloud,
vimeo: IdsPlease::Parsers::Vimeo,
youtube: IdsPlease::Parsers::Youtube,
odnoklassniki: IdsPlease::Parsers::Odnoklassniki,
tumblr: IdsPlease::Parsers::Tumblr,
- moikrug: IdsPlease::Parsers::Moikrug
+ moikrug: IdsPlease::Parsers::Moikrug,
+ mailru: IdsPlease::Parsers::Mailru
}
def self.each
NETWORKS.values.each { |n| yield n }
end