lib/page_rankr.rb in PageRankr-3.1.2 vs lib/page_rankr.rb in PageRankr-3.2.0
- old
+ new
@@ -1,14 +1,17 @@
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
\ No newline at end of file