Module: EndiFeed

Defined in:
lib/endi_feed.rb,
lib/endi_feed/cli.rb,
lib/endi_feed/news.rb,
lib/endi_feed/util.rb,
lib/endi_feed/version.rb

Overview

Contains modules and classes to parse the news feed from endi.com / El Nuevo Dia Newspaper

Author:

Defined Under Namespace

Modules: Util Classes: CLI, News

Constant Summary collapse

VERSION =
'0.0.2'

Class Method Summary collapse

Class Method Details

.get_news(total = 25) ⇒ Array<String>

Creates an EndiFeed::News instance and calls :get_headlines



13
14
15
# File 'lib/endi_feed.rb', line 13

def self.get_news(total = 25)
  EndiFeed::News.new.get_headlines(total)
end