Sha256: c1f8ec7c9dc29c1456ce97aade58450218b04050780edeb4ea2ea622db29b3c6

Contents?: true

Size: 447 Bytes

Versions: 2

Compression:

Stored size: 447 Bytes

Contents

require 'peddler/parsers/model'

module MWS
  module Sellers
    module Parsers
      class Participation < ::Peddler::Parsers::Model
        value(:marketplace_id) do
          text_at_xpath('MarketplaceId')
        end

        value(:seller_id) do
          text_at_xpath('SellerId')
        end

        value(:has_seller_suspended_listings?) do
          boolean_at_xpath('HasSellerSuspendedListings')
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 lib/mws/sellers/parsers/participation.rb
peddler-0.6.4 lib/mws/sellers/parsers/participation.rb