Sha256: fb82a448913efd97f27a923553865dfe9fd43001481fa7bc858a95899f9b46de

Contents?: true

Size: 441 Bytes

Versions: 4

Compression:

Stored size: 441 Bytes

Contents

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

module PageRankr
  class Socials
    class Vk
      include Social

      def url
        'http://vk.com/share.php'
      end

      def params
        {:url => tracked_url, :act => 'count'}
      end

      def regex
        /, (\d+)/
      end

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

      def name
        :socials_vk
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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