Sha256: bc7abffb6a5a03c1c50ede89325adc702611066e9f7251e53c13534bd9d073e4

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

module Nuncium
  module WebServices
    module DmInfo
      class GetListOfReceivedMessages < ::Nuncium::WebServices::DmInfo::Request
        ATTRS = %i[dmFromTime dmToTime dmRecipientOrgUnitNum
                   dmStatusFilter dmOffset dmLimit].freeze

        attr_accessor(*ATTRS)

        def body(xml)
          xml[:v20].GetListOfReceivedMessages do
            values(xml)
          end
        end

        def response_wrapper
          ::Nuncium::Responses::Messages::Collection
        end

        def call_reponse_wrapper(response)
          response_wrapper.new(response)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nuncium-0.13.0 lib/nuncium/web_services/dm_info/get_list_of_received_messages.rb