Class: Pipe::Input::HackerNews
- Inherits:
-
Source::JSONFeed
- Object
- Source::JSONFeed
- Pipe::Input::HackerNews
- Defined in:
- lib/pipe/input/hacker_news.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ HackerNews
constructor
A new instance of HackerNews.
Methods inherited from Source::JSONFeed
Constructor Details
#initialize(options = {}) ⇒ HackerNews
Returns a new instance of HackerNews.
2 3 4 |
# File 'lib/pipe/input/hacker_news.rb', line 2 def initialize(={}) super(url: 'http://apify.heroku.com/api/hacker_news.json') end |