lib/datarank/wordcloud.rb in datarank-1.0.0 vs lib/datarank/wordcloud.rb in datarank-1.1.0
- old
+ new
@@ -6,11 +6,11 @@
# Return word cloud for a topic
#
# @param slug [String] A topic's unique identifier slug
- def wordcloud slug
- get "/topics/#{slug}/wordcloud"
+ def wordcloud(slug, options={})
+ get "/topics/#{slug}/wordcloud", options
end
end
end
\ No newline at end of file