Sha256: c1f9024db7aaa4ef1775d1857c492ffca908e0081fa099f195409fecbffec58a
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
require 'mws/orders/entity' require 'mws/orders/service_status_message' module MWS module Orders class ServiceStatus < Entity attribute(:status) do text_at_xpath('Status') end attribute(:timestamp) do time_at_xpath('Timestamp') end attribute(:message_id) do text_at_xpath('MessageId') end attribute(:messages) do xpath('Messages/Message').map { |node| ServiceStatusMessage.new(node) } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mws-orders-0.2.2 | lib/mws/orders/service_status.rb |