Method: Ansa.get_sport_news

Defined in:
lib/ansa/docs/dynamic_docs.rb

.get_sport_newsArray<Ansa::News>

Note:

This method is autogenerated, it fetches www.ansa.it/sito/notizie/sport/sport_rss.xml

Get news for “sport” category.

Returns:

  • (Array<Ansa::News>)

    all the news of category “sport”.

Raises:

Since:

  • 1.0.0



8
# File 'lib/ansa/docs/dynamic_docs.rb', line 8

generate_get_news 'sport', 'http://www.ansa.it/sito/notizie/sport/sport_rss.xml', '1.0.0'