Sha256: 6014e9641f998881a717f2e4f2da07a081f5542654f9dc8e193914bd2e37febe

Contents?: true

Size: 486 Bytes

Versions: 2

Compression:

Stored size: 486 Bytes

Contents

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

module PageRankr
  class Ranks
    class PageAuthority
      include Rank

      def url
        'https://moz.com/researchtools/ose/api/urlmetrics'
      end

      def params
        {site: tracked_url}
      end

      def jsonpath
        'data.authority.page_authority'
      end

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

      def name
        :ranks_page_authority
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
PageRankr-4.6.1 lib/page_rankr/ranks/page_authority.rb
PageRankr-4.6.0 lib/page_rankr/ranks/page_authority.rb