Sha256: a70067b1eccd4197bd2a5a6d5a0d77cb93c6d3eb5405c8ad2577dabbf74d5340
Contents?: true
Size: 1.1 KB
Versions: 8
Compression:
Stored size: 1.1 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__) 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 end end
Version data entries
8 entries across 8 versions & 1 rubygems