Class: RubyIsds::WebServices::DmInfo::MessageEnvelopeDownload

Inherits:
Request
  • Object
show all
Defined in:
lib/ruby_isds/web_services/dm_info/message_envelope_download.rb

Constant Summary collapse

ATTRS =
[:dmID].freeze

Instance Method Summary collapse

Methods inherited from Request

#api_url, #xml_url

Methods inherited from Request

#api_url, call, #call, #default_headers, #envelope_namespaces, #full_url, #initialize, #to_xml, #values, #xml_url

Constructor Details

This class inherits a constructor from RubyIsds::Request

Instance Method Details

#body(xml) ⇒ Object



9
10
11
12
13
# File 'lib/ruby_isds/web_services/dm_info/message_envelope_download.rb', line 9

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

#call_reponse_wrapper(response) ⇒ Object



19
20
21
# File 'lib/ruby_isds/web_services/dm_info/message_envelope_download.rb', line 19

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

#response_wrapperObject



15
16
17
# File 'lib/ruby_isds/web_services/dm_info/message_envelope_download.rb', line 15

def response_wrapper
  ::RubyIsds::Responses::Messages::Envelope
end