Sha256: 63de83c37b64942961eb62e07700809d14fff3a55186c7c91573d1540d71eca1
Contents?: true
Size: 545 Bytes
Versions: 7
Compression:
Stored size: 545 Bytes
Contents
module HackerNewsSearch class Client module Items # Returns the information of the item from Hacker News Search # # @param item_id [String] The hacker news item plus the thriftdb_id - must know the thriftDB id # @param options [Hash] A customizable set of options. # @return {Hash} # @see http://www.hnsearch.com/api # @example # HackerNewsSearch.item("2619846-a30f9") def item(item_id, options={}) get("items/#{item_id}", options) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems