lib/epics/ccs.rb in epics-2.4.0 vs lib/epics/ccs.rb in epics-2.5.0

- old
+ new

@@ -1,9 +1,13 @@ -class Epics::CCS < Epics::CCT - def order_attribute - 'DZHNN' - end - - def order_type - 'CCS' +class Epics::CCS < Epics::GenericUploadRequest + def header + client.header_request.build( + nonce: nonce, + timestamp: timestamp, + order_type: 'CCS', + order_attribute: 'DZHNN', + order_params: {}, + num_segments: 1, + mutable: { TransactionPhase: 'Initialisation' } + ) end end