Sha256: c02ef47414fe7221b57998655b46cbb11484b5ea12b4460608df26b22d3acf0c
Contents?: true
Size: 490 Bytes
Versions: 2
Compression:
Stored size: 490 Bytes
Contents
require 'peddler/parsers/collection' require 'mws/reports/parsers/report_info' require 'peddler/parsers/tokenable' module MWS module Reports module Parsers class ReportList < ::Peddler::Parsers::Collection include ::Peddler::Parsers::Tokenable def each(&blk) report_info_nodes.each { |node| yield ReportInfo.new(node) } end private def report_info_nodes xpath('ReportInfo') end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
peddler-0.6.5 | lib/mws/reports/parsers/report_list.rb |
peddler-0.6.4 | lib/mws/reports/parsers/report_list.rb |