Sha256: 3279319079146121b95f7a0c25502440e3c674dcee68693e25686548d6933321

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 Bytes

Contents

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

module PageRankr
  class Socials
    class LinkedIn
      include Social

      def url
        'https://www.linkedin.com/countserv/count/share'
      end

      def params
        {:url => tracked_url, :callback => '_', :format => 'json'}
      end

      def jsonpath
        'count'
      end

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

      def name
        :socials_linked_in
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
PageRankr-4.6.1 lib/page_rankr/socials/linkedin.rb
PageRankr-4.6.0 lib/page_rankr/socials/linkedin.rb
PageRankr-4.4.1 lib/page_rankr/socials/linkedin.rb
PageRankr-4.4.0 lib/page_rankr/socials/linkedin.rb