Sha256: 287ca4806e53dc4062a8dd07a4c2dd6beab06067067799c44b9d1eee95490090

Contents?: true

Size: 994 Bytes

Versions: 14

Compression:

Stored size: 994 Bytes

Contents

class Epics::HPD < Epics::GenericRequest
  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 'HPD'
            xml.OrderAttribute 'DZHNN'
            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.mutable {
          xml.TransactionPhase 'Initialisation'
        }
      }
    end.doc.root
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
epics-2.4.0 lib/epics/hpd.rb
epics-2.3.0 lib/epics/hpd.rb
epics-2.2.0 lib/epics/hpd.rb
epics-2.1.2 lib/epics/hpd.rb
epics-2.1.1 lib/epics/hpd.rb
epics-2.1.0 lib/epics/hpd.rb
epics-2.0.0 lib/epics/hpd.rb
epics-1.8.1 lib/epics/hpd.rb
epics-1.8.0 lib/epics/hpd.rb
epics-1.7.2 lib/epics/hpd.rb
epics-1.7.1 lib/epics/hpd.rb
epics-1.7.0 lib/epics/hpd.rb
epics-1.6.0 lib/epics/hpd.rb
epics-1.5.2 lib/epics/hpd.rb