lib/datarank/datasources.rb in datarank-1.0.0 vs lib/datarank/datasources.rb in datarank-1.1.0

- old
+ new

@@ -5,18 +5,18 @@ module Datasources # Return unique datasources correlated to a topic # # @param slug [String] A topic's unique identifier slug - def datasources slug - get "/topics/#{slug}/datasources" + def datasources(slug, options={}) + get "/topics/#{slug}/datasources", options end # Return unique datasources correlated to a topic grouped by type # # @param slug [String] A topic's unique identifier slug - def datasources_by_type slug - get "/topics/#{slug}/datasources/types" + def datasources_by_type(slug, options={}) + get "/topics/#{slug}/datasources/types", options end end end \ No newline at end of file