Sha256: c476b1e2f037bcaa399fc0bc8bc04687d1ab4ffb95b95e8d56ec5173442704d5
Contents?: true
Size: 490 Bytes
Versions: 2
Compression:
Stored size: 490 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 get "/topics/#{slug}" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datarank-1.1.0 | lib/datarank/topics.rb |
datarank-1.0.0 | lib/datarank/topics.rb |