Sha256: 02d8f730af017df4a767d7acc08c2f2506a2e63fa5a7c252e317884d4cc09146

Contents?: true

Size: 427 Bytes

Versions: 3

Compression:

Stored size: 427 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
epics-2.7.0 lib/epics/ptk.rb
epics-2.6.0 lib/epics/ptk.rb
epics-2.5.0 lib/epics/ptk.rb