Sha256: 796c29af28cbd5e999ac7f0f3fe98a9d23df2cb0af3d519767721cee3ef4049d
Contents?: true
Size: 1.36 KB
Versions: 4
Compression:
Stored size: 1.36 KB
Contents
require File.expand_path("../page_rankr/backlinks", __FILE__) require File.expand_path("../page_rankr/ranks", __FILE__) require File.expand_path("../page_rankr/indexes", __FILE__) require File.expand_path("../page_rankr/proxy_services", __FILE__) require File.expand_path("../page_rankr/socials", __FILE__) module PageRankr class MethodRequired < StandardError; end class DomainInvalid < StandardError; end class SupportedComponentsInvalid < StandardError; end class << self attr_accessor :proxy_service def backlinks(site, *search_engines) Backlinks.new.lookup(Site.new(site), *search_engines) end alias_method :backlink, :backlinks def backlink_trackers Backlinks.new.backlink_trackers end def ranks(site, *rank_trackers) Ranks.new.lookup(Site.new(site), *rank_trackers) end alias_method :rank, :ranks def rank_trackers Ranks.new.rank_trackers end def indexes(site, *index_trackers) Indexes.new.lookup(Site.new(site), *index_trackers) end alias_method :index, :indexes def index_trackers Indexes.new.index_trackers end def socials(site, *social_trackers) Socials.new.lookup(Site.new(site), *social_trackers) end alias_method :social, :socials def social_trackers Socials.new.social_trackers end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
PageRankr-4.6.1 | lib/page_rankr.rb |
PageRankr-4.6.0 | lib/page_rankr.rb |
PageRankr-4.4.1 | lib/page_rankr.rb |
PageRankr-4.4.0 | lib/page_rankr.rb |