Sha256: 695c28f33d2e0cce6f582f223080952928f8475dfd7a15a8092172ccd0d581d2

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

module Nuncium
  module WebServices
    module DmInfo
      class MessageEnvelopeDownload < ::Nuncium::WebServices::DmInfo::Request
        ATTRS = [:dmID].freeze

        attr_accessor(*ATTRS)

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

        def response_wrapper
          ::Nuncium::Responses::Messages::Envelope
        end

        def call_reponse_wrapper(response)
          response_wrapper.new(response).message
        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/message_envelope_download.rb