Sha256: 6145de47471c4f71bfbeca4f06f18541021c97f7db6ef5469ca32d1d7ed93ff6

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

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

        attr_accessor(*ATTRS)

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

        def response_wrapper
          ::Nuncium::Responses::Messages::DeliveryInfo
        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/get_delivery_info.rb