Class: Cadence::Workflow::Serializer::Base
- Inherits:
-
Object
- Object
- Cadence::Workflow::Serializer::Base
- Defined in:
- lib/cadence/workflow/serializer/base.rb
Direct Known Subclasses
CancelTimer, CompleteWorkflow, FailWorkflow, RecordMarker, RequestActivityCancellation, ScheduleActivity, StartChildWorkflow, StartTimer
Instance Method Summary collapse
-
#initialize(object) ⇒ Base
constructor
A new instance of Base.
- #to_thrift ⇒ Object
Constructor Details
#initialize(object) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/cadence/workflow/serializer/base.rb', line 8 def initialize(object) @object = object end |
Instance Method Details
#to_thrift ⇒ Object
12 13 14 |
# File 'lib/cadence/workflow/serializer/base.rb', line 12 def to_thrift raise NotImplementedError, 'serializer needs to implement #to_thrift' end |