Class: Epics::HTD

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

Instance Attribute Summary

Attributes inherited from GenericRequest

#client, #options, #transaction_id

Instance Method Summary collapse

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::GenericRequest

Instance Method Details

#headerObject



2
3
4
5
6
7
8
9
10
11
# File 'lib/epics/htd.rb', line 2

def header
  client.header_request.build(
    nonce: nonce,
    timestamp: timestamp,
    order_type: 'HTD',
    order_attribute: 'DZHNN',
    order_params: {},
    mutable: { TransactionPhase: 'Initialisation' }
  )
end