Sha256: 5323b13402384d5e441373025e60050396340b8a718bbe809761fecbe474e8cd

Contents?: true

Size: 503 Bytes

Versions: 8

Compression:

Stored size: 503 Bytes

Contents

module Datarank
  class Client

    # Module containing methods for interacting with comments
    module Comments

      # Query interface for comments correlated to a topic
      #
      # @param slug [String] A topic's unique identifier slug
      # @option options [1..1000] :limit The number of items to return.
      # @option options - all query options available in API docs
      def comments_search(slug, options={})
        get "/topics/#{slug}/comments", options
      end

    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datarank-1.3.0 lib/datarank/comments.rb
datarank-1.2.0 lib/datarank/comments.rb
datarank-1.1.4 lib/datarank/comments.rb
datarank-1.1.3 lib/datarank/comments.rb
datarank-1.1.2 lib/datarank/comments.rb
datarank-1.1.1 lib/datarank/comments.rb
datarank-1.1.0 lib/datarank/comments.rb
datarank-1.0.0 lib/datarank/comments.rb