Sha256: 3dd238e08776eeb2722f0a5e12b4d4595744fcb12a8d0351bcac24b8fc0cdc32

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

module Datarank
  class Client

    # Module containing methods for interacting with a topic's sentiment data
    module Sentiment
      
      # Fetch sentiment for a topic grouped by day
      #
      # @param slug [String] A topic's unique identifier slug
      def sentiment_daily slug
        get "/topics/#{slug}/sentiment/daily"
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datarank-1.0.0 lib/datarank/sentiment.rb