Class: Epics::AZV
- Inherits:
-
GenericUploadRequest
- Object
- GenericRequest
- GenericUploadRequest
- Epics::AZV
- Defined in:
- lib/epics/azv.rb
Instance Attribute Summary
Attributes inherited from GenericUploadRequest
Attributes inherited from GenericRequest
Instance Method Summary collapse
Methods inherited from GenericUploadRequest
#body, #cipher, #digester, #encrypt, #encrypted_order_data, #encrypted_order_signature, #initialize, #order_signature, #pad, #signature_value
Methods inherited from GenericRequest
#auth_signature, #body, #initialize, #nonce, #root, #timestamp, #to_receipt_xml, #to_transfer_xml, #to_xml
Constructor Details
This class inherits a constructor from Epics::GenericUploadRequest
Instance Method Details
#header ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/epics/azv.rb', line 2 def header Nokogiri::XML::Builder.new do |xml| xml.header(authenticate: true) { xml.static { xml.HostID host_id xml.Nonce nonce xml.Timestamp xml.PartnerID partner_id xml.UserID user_id xml.Product("EPICS - a ruby ebics kernel", 'Language' => 'de') xml.OrderDetails { xml.OrderType 'CD1' xml.OrderAttribute 'OZHNN' xml.StandardOrderParams } xml.BankPubKeyDigests { xml.Authentication(client.bank_x.public_digest, Version: 'X002', Algorithm: "http://www.w3.org/2001/04/xmlenc#sha256") xml.Encryption(client.bank_e.public_digest, Version: 'E002', Algorithm: "http://www.w3.org/2001/04/xmlenc#sha256" ) } xml.SecurityMedium '0000' xml.NumSegments 1 } xml.mutable { xml.TransactionPhase 'Initialisation' } } end.doc.root end |