lib/datarank/topics.rb in datarank-1.1.3 vs lib/datarank/topics.rb in datarank-1.1.4
- old
+ new
@@ -1,11 +1,11 @@
module Datarank
class Client
# Module containing methods for interacting with topics
module Topics
-
+
# Return all topics
#
# @option options [1..1000] :limit The number of items to return.
def all_topics options={}
get '/topics', options
@@ -13,12 +13,12 @@
# Return single topic by slug
#
# @param slug [String] A topic's unique identifier slug
def find_topic(slug, options={})
- get "/topics/#{slug}"
+ get "/topics/#{slug}", options
end
-
+
end
end
-end
\ No newline at end of file
+end