Class: Epics::CCT

Inherits:
GenericUploadRequest show all
Defined in:
lib/epics/cct.rb

Instance Attribute Summary

Attributes inherited from GenericUploadRequest

#document, #iv, #key

Attributes inherited from GenericRequest

#client, #options, #transaction_id

Instance Method Summary collapse

Methods inherited from GenericUploadRequest

#body, #cipher, #digester, #encrypt, #encrypted_order_data, #encrypted_order_signature, #initialize, #order_signature, #pad, #signature_value

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

Instance Method Details

#headerObject



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

def header
  client.header_request.build(
    nonce: nonce,
    timestamp: timestamp,
    order_type: 'CCT',
    order_attribute: 'OZHNN',
    order_params: {},
    num_segments: 1,
    mutable: { TransactionPhase: 'Initialisation' }
  )
end