Class: RubyIsds::WebServices::DmOperations::CreateMessage

Inherits:
Request
  • Object
show all
Defined in:
lib/ruby_isds/web_services/dm_operations/create_message.rb

Constant Summary collapse

ATTRS =
%i[dmSenderOrgUnit dmSenderOrgUnitNum dbIDRecipient
dmRecipientOrgUnit dmRecipientOrgUnitNum dmToHands
dmAnnotation dmRecipientRefNumber dmSenderRefNumber
dmRecipientIdent dmSenderIdent dmLegalTitleLaw
dmLegalTitleYear dmLegalTitleSect dmLegalTitlePar
dmLegalTitlePoint dmPersonalDelivery dmAllowSubstDelivery
dmOVM dmPublishOwnID].freeze

Instance Method Summary collapse

Methods inherited from Request

#api_url, #response_wrapper, #xml_url

Methods inherited from Request

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

Constructor Details

This class inherits a constructor from RubyIsds::Request

Instance Method Details

#body(xml) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/ruby_isds/web_services/dm_operations/create_message.rb', line 20

def body(xml)
  xml[:v20].CreateMessage do
    xml[:v20].dmEnvelope(dmType: 'WTF') do
      values(xml)
    end
  end
end