Class: Cadence::Workflow::Serializer::RecordMarker
- Defined in:
- lib/cadence/workflow/serializer/record_marker.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Cadence::Workflow::Serializer::Base
Instance Method Details
#to_thrift ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/cadence/workflow/serializer/record_marker.rb', line 8 def to_thrift CadenceThrift::Decision.new( decisionType: CadenceThrift::DecisionType::RecordMarker, recordMarkerDecisionAttributes: CadenceThrift::RecordMarkerDecisionAttributes.new( markerName: object.name, details: JSON.serialize(object.details) ) ) end |