Class: Epics::HAC
- Inherits:
-
GenericRequest
- Object
- GenericRequest
- Epics::HAC
- Defined in:
- lib/epics/hac.rb
Instance Attribute Summary
Attributes inherited from GenericRequest
#client, #options, #transaction_id
Instance Method Summary collapse
-
#header ⇒ Object
By default HAC only returns data for transactions which have not yet been fetched.
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::GenericRequest
Instance Method Details
#header ⇒ Object
By default HAC only returns data for transactions which have not yet been fetched. Therefore, most applications not not have to specify a date range, but can simply fetch the status and be done
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/epics/hac.rb', line 5 def header client.header_request.build( nonce: nonce, timestamp: , order_type: 'HAC', order_attribute: 'DZHNN', order_params: !![:from] && !![:to] ? { DateRange: { Start: [:from], End: [:to] } } : {}, mutable: { TransactionPhase: 'Initialisation' } ) end |