Class: Epics::HPB

Inherits:
GenericRequest show all
Defined in:
lib/epics/hpb.rb

Instance Attribute Summary

Attributes inherited from GenericRequest

#client, #transaction_id

Instance Method Summary collapse

Methods inherited from GenericRequest

#auth_signature, #body, #initialize, #nonce, #timestamp, #to_receipt_xml, #to_transfer_xml, #to_xml

Constructor Details

This class inherits a constructor from Epics::GenericRequest

Instance Method Details

#headerObject


7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/epics/hpb.rb', line 7

def header
  {
    :@authenticate => true,
    static: {
      "HostID" => host_id,
      "Nonce" => nonce,
      "Timestamp" => timestamp,
      "PartnerID" => partner_id,
      "UserID" => user_id,
      "Product" => {
        :@Language => "de",
        :content! => "EPICS - a ruby ebics kernel"
      },
      "OrderDetails" => {
        "OrderType" => "HPB",
        "OrderAttribute" => "DZHNN"
      },
      "SecurityMedium" => "0000"
    },
    "mutable/" => ""
  }
end

#rootObject


3
4
5
# File 'lib/epics/hpb.rb', line 3

def root
  "ebicsNoPubKeyDigestsRequest"
end