Class: Temporal::Client::Serializer::Base
- Inherits:
-
Object
- Object
- Temporal::Client::Serializer::Base
- Defined in:
- lib/temporal/client/serializer/base.rb
Direct Known Subclasses
CancelTimer, CompleteWorkflow, ContinueAsNew, FailWorkflow, Failure, RecordMarker, RequestActivityCancellation, RetryPolicy, ScheduleActivity, StartChildWorkflow, StartTimer
Instance Method Summary collapse
-
#initialize(object) ⇒ Base
constructor
A new instance of Base.
- #to_proto ⇒ Object
Constructor Details
#initialize(object) ⇒ Base
Returns a new instance of Base.
9 10 11 |
# File 'lib/temporal/client/serializer/base.rb', line 9 def initialize(object) @object = object end |
Instance Method Details
#to_proto ⇒ Object
13 14 15 |
# File 'lib/temporal/client/serializer/base.rb', line 13 def to_proto raise NotImplementedError, 'serializer needs to implement #to_proto' end |