Sha256: 3ac820184f53491dbf363a741bb6ac453114d8f4253054c6096dcc7cf944b0a1

Contents?: true

Size: 379 Bytes

Versions: 2

Compression:

Stored size: 379 Bytes

Contents

module Datarank
  class Client

    # Module containing methods for interacting with a topic's social stats
    module SocialStats
      
      # Fetch social stats correlated to a topic
      #
      # @param slug [String] A topic's unique identifier slug
      def social_stats(slug, options={})
        get "/topics/#{slug}/social/stats", options
      end

    end

  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
datarank-v2-1.0.0 lib/datarank/social_stats.rb
datarank-1.4.0 lib/datarank/social_stats.rb