Method: Epics::VMK#header

Defined in:
lib/epics/vmk.rb

#headerObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/epics/vmk.rb', line 2

def header
  client.header_request.build(
    nonce: nonce,
    timestamp: timestamp,
    order_type: 'VMK',
    order_attribute: 'DZHNN',
    order_params: !!options[:from] && !!options[:to] ? {
      DateRange: {
        Start: options[:from],
        End: options[:to]
      }
    } : {},
    mutable: { TransactionPhase: 'Initialisation' }
  )
end