Class: RubyIsds::WebServices::DmInfo::GetListOfSentMessages

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

Constant Summary collapse

ATTRS =
%i[dmFromTime dmToTime dmSenderOrgUnitNum
dmStatusFilter dmOffset dmLimit].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



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

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

#call_reponse_wrapper(response) ⇒ Object



20
21
22
# File 'lib/ruby_isds/web_services/dm_info/get_list_of_sent_messages.rb', line 20

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

#response_wrapperObject



16
17
18
# File 'lib/ruby_isds/web_services/dm_info/get_list_of_sent_messages.rb', line 16

def response_wrapper
  ::RubyIsds::Responses::Messages::Collection
end