lib/mws/feeds/parsers/feed.rb in peddler-0.6.3 vs lib/mws/feeds/parsers/feed.rb in peddler-0.6.4

- old
+ new

@@ -1,13 +1,13 @@ require 'peddler/parsers/model' -require 'mws/feeds/parsers/feed_submission' +require 'mws/feeds/parsers/feed_submission_info' module MWS module Feeds module Parsers class Feed < Peddler::Parsers::Model - value :submission do - FeedSubmission.new(document.xpath('xmlns:FeedSubmissionInfo').first) + value :submission_info do + FeedSubmissionInfo.new(at_xpath('FeedSubmissionInfo')) end end end end end