Sha256: 2cb94ece281a12ab1a7ee79ea622ac435423850fb06e0b713077d62d559cbad2

Contents?: true

Size: 554 Bytes

Versions: 2

Compression:

Stored size: 554 Bytes

Contents

# frozen_string_literal: true

require 'mws/orders/entity'
require 'mws/orders/message'

module MWS
  module Orders
    # https://docs.developer.amazonservices.com/en_US/orders-2013-09-01/MWS_GetServiceStatus.html
    class ServiceStatus < Entity
      attribute(:status) do
        string('Status')
      end

      attribute(:timestamp) do
        time('Timestamp')
      end

      attribute(:message_id) do
        string('MessageId')
      end

      attribute(:messages) do
        entities('Messages/Message', Message)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mws-orders-0.6.1 lib/mws/orders/service_status.rb
mws-orders-0.5.1 lib/mws/orders/service_status.rb