Sha256: 9abe4cf7c3f29dfde1b6f473592fe267368d24ceb07393dacca942435fd4c921

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

module Nuncium
  module WebServices
    module DmOperations
      class MessageDownload < ::Nuncium::WebServices::DmOperations::Request
        ATTRS = [:dmID].freeze

        attr_accessor(*ATTRS)

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

        def response_wrapper
          ::Nuncium::Responses::Message
        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_operations/message_download.rb