Class: Temporal::Client::Serializer::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/temporal/client/serializer/base.rb

Instance Method Summary collapse

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_protoObject

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/temporal/client/serializer/base.rb', line 13

def to_proto
  raise NotImplementedError, 'serializer needs to implement #to_proto'
end