Sha256: ff131a4c3ca307dc563afef4f617c6ebe189c6d2e186248ea743d47bb4b950be
Contents?: true
Size: 503 Bytes
Versions: 3
Compression:
Stored size: 503 Bytes
Contents
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 end # Return single topic by slug # # @param slug [String] A topic's unique identifier slug def find_topic(slug, options={}) get "/topics/#{slug}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
datarank-1.1.3 | lib/datarank/topics.rb |
datarank-1.1.2 | lib/datarank/topics.rb |
datarank-1.1.1 | lib/datarank/topics.rb |