Class: Freakonomics::Fetcher
- Inherits:
-
Object
- Object
- Freakonomics::Fetcher
- Defined in:
- lib/freakonomics/fetcher.rb
Constant Summary collapse
- FEED_URL =
"http://feeds.feedburner.com/freakonomicsradio?format=xml"
Class Method Summary collapse
Class Method Details
.fetch_feed ⇒ Object
4 5 6 |
# File 'lib/freakonomics/fetcher.rb', line 4 def self.fetch_feed open(FEED_URL).read end |