Sha256: 05e590cbc602bc16c392ad4ee19e79970a54e1de850f11c2e8d6deabcd9a9b48

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

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

        attr_accessor(*ATTRS)

        def body(xml)
          xml[:v20].GetListOfSentMessages 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_sent_messages.rb