Class: Postrocktues::Fetcher
- Inherits:
-
Object
- Object
- Postrocktues::Fetcher
- Defined in:
- lib/postrocktues/fetcher.rb
Instance Attribute Summary collapse
-
#feed ⇒ Object
readonly
Returns the value of attribute feed.
Instance Method Summary collapse
-
#initialize(feed) ⇒ Fetcher
constructor
A new instance of Fetcher.
- #queries ⇒ Object
Constructor Details
#initialize(feed) ⇒ Fetcher
Returns a new instance of Fetcher.
11 12 13 |
# File 'lib/postrocktues/fetcher.rb', line 11 def initialize feed @feed = feed end |
Instance Attribute Details
#feed ⇒ Object (readonly)
Returns the value of attribute feed.
9 10 11 |
# File 'lib/postrocktues/fetcher.rb', line 9 def feed @feed end |
Instance Method Details
#queries ⇒ Object
15 16 17 |
# File 'lib/postrocktues/fetcher.rb', line 15 def queries fetch_queries.reverse end |