lib/mws/orders/service_status.rb in mws-orders-0.3.1 vs lib/mws/orders/service_status.rb in mws-orders-0.4.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
require 'mws/orders/entity'
-require 'mws/orders/service_status_message'
+require 'mws/orders/message'
module MWS
module Orders
class ServiceStatus < Entity
attribute(:status) do
@@ -17,10 +17,10 @@
attribute(:message_id) do
text_at_xpath('MessageId')
end
attribute(:messages) do
- xpath('Messages/Message').map { |node| ServiceStatusMessage.new(node) }
+ xpath('Messages/Message').map { |node| Message.new(node) }
end
end
end
end