westernmilling/agris.rb

View on GitHub
lib/agris/api/messages/query_changed_delivery_tickets.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
module Agris
  module Api
    module Messages
      class QueryChangedDeliveryTickets < ChangedQueryBase
        def message_number
          80_600
        end

        protected

        def xml_hash
          xml_base_hash
            .merge(
              lineitemdetail: true,
              componentdetail: true,
              remarkdetail: true,
              lineremarkdetail: true,
              trancodedetail: true,
              specificationdetail: true
            )
        end
      end
    end
  end
end