Sha256: c331279d330b713cbaf74e8aed5ebb95817d64cc17f25cb8fc73327458d992dc

Contents?: true

Size: 445 Bytes

Versions: 7

Compression:

Stored size: 445 Bytes

Contents

require File.expand_path('../../rank', __FILE__)

module PageRankr
  class Ranks
    class MozRank
      include Rank

      def url
        'http://bagics.com/moz-rank.html'
      end

      def params
        {:domain => tracked_url}
      end

      def xpath
        '//*[@id="resId"]'
      end

      def supported_components
        [:subdomain, :path, :query]
      end

      def name
        :ranks_moz_rank
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
PageRankr-4.6.1 lib/page_rankr/ranks/moz_rank.rb
PageRankr-4.6.0 lib/page_rankr/ranks/moz_rank.rb
PageRankr-4.4.1 lib/page_rankr/ranks/moz_rank.rb
PageRankr-4.4.0 lib/page_rankr/ranks/moz_rank.rb
PageRankr-4.3.0 lib/page_rankr/ranks/moz_rank.rb
PageRankr-4.2.1 lib/page_rankr/ranks/moz_rank.rb
PageRankr-4.2.0 lib/page_rankr/ranks/moz_rank.rb