Sha256: a1f3f64f26ffefb163c83100330e880ac5ad6e8bcd54aaaa46325f600e70c711

Contents?: true

Size: 427 Bytes

Versions: 3

Compression:

Stored size: 427 Bytes

Contents

class Epics::STA < Epics::GenericRequest
  def header
    client.header_request.build(
      nonce: nonce,
      timestamp: timestamp,
      order_type: 'STA',
      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/sta.rb
epics-2.6.0 lib/epics/sta.rb
epics-2.5.0 lib/epics/sta.rb