lib/datarank/sentiment.rb in datarank-1.0.0 vs lib/datarank/sentiment.rb in datarank-1.1.0
- old
+ new
@@ -5,11 +5,11 @@
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"
+ def sentiment_daily(slug, options={})
+ get "/topics/#{slug}/sentiment/daily", options
end
end
end
\ No newline at end of file