Module: HackerNewsSearch::Client::Items
- Included in:
- HackerNewsSearch::Client
- Defined in:
- lib/hacker_news_search/client/items.rb
Instance Method Summary collapse
-
#item(item_id, options = {}) ⇒ Hash
Returns the information of the item from Hacker News Search.
Instance Method Details
#item(item_id, options = {}) ⇒ Hash
Returns the information of the item from Hacker News Search
13 14 15 |
# File 'lib/hacker_news_search/client/items.rb', line 13 def item(item_id, ={}) get("items/#{item_id}", ) end |