Module: IdsPlease::Parsers

Defined in:
lib/ids_please/parsers.rb,
lib/ids_please/parsers/hi5.rb,
lib/ids_please/parsers/base.rb,
lib/ids_please/parsers/ameba.rb,
lib/ids_please/parsers/vimeo.rb,
lib/ids_please/parsers/mailru.rb,
lib/ids_please/parsers/reddit.rb,
lib/ids_please/parsers/tumblr.rb,
lib/ids_please/parsers/blogger.rb,
lib/ids_please/parsers/moikrug.rb,
lib/ids_please/parsers/twitter.rb,
lib/ids_please/parsers/youtube.rb,
lib/ids_please/parsers/facebook.rb,
lib/ids_please/parsers/linkedin.rb,
lib/ids_please/parsers/instagram.rb,
lib/ids_please/parsers/pinterest.rb,
lib/ids_please/parsers/vkontakte.rb,
lib/ids_please/parsers/soundcloud.rb,
lib/ids_please/parsers/google_plus.rb,
lib/ids_please/parsers/livejournal.rb,
lib/ids_please/parsers/odnoklassniki.rb

Defined Under Namespace

Classes: Ameba, Base, Blogger, Facebook, GooglePlus, Hi5, Instagram, Linkedin, Livejournal, Mailru, Moikrug, Odnoklassniki, Pinterest, Reddit, Soundcloud, Tumblr, Twitter, Vimeo, Vkontakte, Youtube

Constant Summary collapse

NETWORKS =
{
  google_plus: IdsPlease::Parsers::GooglePlus,
  vkontakte: IdsPlease::Parsers::Vkontakte,
  twitter: IdsPlease::Parsers::Twitter,
  facebook: IdsPlease::Parsers::Facebook,
  instagram: IdsPlease::Parsers::Instagram,
  blogger: IdsPlease::Parsers::Blogger,
  ameba: IdsPlease::Parsers::Ameba,
  hi5: IdsPlease::Parsers::Hi5,
  linkedin: IdsPlease::Parsers::Linkedin,
  livejournal: IdsPlease::Parsers::Livejournal,
  reddit: IdsPlease::Parsers::Reddit,
  pinterest: IdsPlease::Parsers::Pinterest,
  soundcloud: IdsPlease::Parsers::Soundcloud,
  vimeo: IdsPlease::Parsers::Vimeo,
  youtube: IdsPlease::Parsers::Youtube,
  odnoklassniki: IdsPlease::Parsers::Odnoklassniki,
  tumblr: IdsPlease::Parsers::Tumblr,
  moikrug: IdsPlease::Parsers::Moikrug,
  mailru: IdsPlease::Parsers::Mailru
}

Class Method Summary collapse

Class Method Details

.by_symbol(sym) ⇒ Object



47
48
49
# File 'lib/ids_please/parsers.rb', line 47

def self.by_symbol(sym)
  NETWORKS[sym]
end

.to_aObject



51
52
53
# File 'lib/ids_please/parsers.rb', line 51

def self.to_a
  NETWORKS.values
end