Class: YouTubeG::Parser::VideoFeedParser

Inherits:
FeedParser
  • Object
show all
Defined in:
lib/youtube_g/parser.rb

Overview

:nodoc:

Direct Known Subclasses

VideosFeedParser

Instance Method Summary collapse

Methods inherited from FeedParser

#initialize, #parse

Constructor Details

This class inherits a constructor from YouTubeG::Parser::FeedParser

Instance Method Details

#parse_content(content) ⇒ Object



15
16
17
18
19
# File 'lib/youtube_g/parser.rb', line 15

def parse_content(content)
  doc = REXML::Document.new(content)
  entry = doc.elements["entry"]
  parse_entry(entry)
end