Sha256: 7e2a52b79a05dadcef35ceecfc753ca498f36d2f270663151f25adf173a21839

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

require 'peddler/parsers/model'

module MWS
  module Feeds
    module Parsers
      class FeedSubmissionInfo < ::Peddler::Parsers::Model
        value :id do
          text_at_xpath('FeedSubmissionId')
        end

        value :type do
          text_at_xpath('FeedType')
        end

        value :submitted_at do
          time_at_xpath('SubmittedDate')
        end

        value :processing_status do
          text_at_xpath('FeedProcessingStatus')
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 lib/mws/feeds/parsers/feed_submission_info.rb
peddler-0.6.4 lib/mws/feeds/parsers/feed_submission_info.rb