module Datarank class Client # Module containing methods for interacting with datasources module Datasources # Return unique datasources correlated to a topic # # @param slug [String] A topic's unique identifier slug 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, options={}) get "/topics/#{slug}/datasources/types", options end end end end