lib/epics/ini.rb in epics-2.4.0 vs lib/epics/ini.rb in epics-2.5.0
- old
+ new
@@ -2,25 +2,15 @@
def root
"ebicsUnsecuredRequest"
end
def header
- Nokogiri::XML::Builder.new do |xml|
- xml.header(authenticate: true) {
- xml.static {
- xml.HostID host_id
- xml.PartnerID partner_id
- xml.UserID user_id
- xml.Product("EPICS - a ruby ebics kernel", 'Language' => 'de')
- xml.OrderDetails {
- xml.OrderType 'INI'
- xml.OrderAttribute 'DZNNN'
- }
- xml.SecurityMedium '0000'
- }
- xml.mutable ''
- }
- end.doc.root
+ client.header_request.build(
+ order_type: 'INI',
+ order_attribute: 'DZNNN',
+ with_bank_pubkey_digests: false,
+ mutable: {},
+ )
end
def body
Nokogiri::XML::Builder.new do |xml|
xml.body{