Sha256: e0f77d97fae51709da6e958683b84732f934e41e2fc6683e91b9e39b4f9bfd4b
Contents?: true
Size: 739 Bytes
Versions: 1
Compression:
Stored size: 739 Bytes
Contents
require_relative 'grabbers/base' require_relative 'grabbers/facebook' require_relative 'grabbers/vkontakte' require_relative 'grabbers/instagram' require_relative 'grabbers/twitter' require_relative 'grabbers/mailru' require_relative 'grabbers/google_plus' class IdsPlease module Grabbers NETWORKS = { facebook: IdsPlease::Grabbers::Facebook, vkontakte: IdsPlease::Grabbers::Vkontakte, twitter: IdsPlease::Grabbers::Twitter, instagram: IdsPlease::Grabbers::Instagram, mailru: IdsPlease::Grabbers::Mailru, google_plus: IdsPlease::Grabbers::GooglePlus, } def self.each NETWORKS.values.each { |n| yield n } end def self.by_symbol(sym) NETWORKS[sym] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ids_please-2.2.0 | lib/ids_please/grabbers.rb |