Class: BBCDataService::XMLParser

Inherits:
Object
  • Object
show all
Defined in:
lib/bbc_data_service/xml_parser.rb

Class Method Summary collapse

Class Method Details

.parse_feed(app_fixture) ⇒ Object



3
4
5
# File 'lib/bbc_data_service/xml_parser.rb', line 3

def self.parse_feed(app_fixture)
  return Nokogiri::XML(File.open(app_fixture[:feed_url]))
end