class Epics::C53
Attributes
from[RW]
to[RW]
Public Class Methods
new(client, from, to)
click to toggle source
Calls superclass method
Epics::GenericRequest::new
# File lib/epics/c53.rb, line 4 def initialize(client, from, to) super(client) self.from = from self.to = to end
Public Instance Methods
header()
click to toggle source
# File lib/epics/c53.rb, line 10 def header Nokogiri::XML::Builder.new do |xml| xml.header(authenticate: true) { xml.static { xml.HostID host_id xml.Nonce nonce xml.Timestamp timestamp xml.PartnerID partner_id xml.UserID user_id xml.Product("EPICS - a ruby ebics kernel", 'Language' => 'de') xml.OrderDetails { xml.OrderType 'C53' xml.OrderAttribute 'DZHNN' xml.StandardOrderParams { xml.DateRange { xml.Start from xml.End to } } } 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.mutable { xml.TransactionPhase 'Initialisation' } } end.doc.root end