Class: Temporalio::Converters::RawValue
- Inherits:
-
Object
- Object
- Temporalio::Converters::RawValue
- Defined in:
- lib/temporalio/converters/raw_value.rb
Overview
Raw value wrapper that has the raw payload. When raw args are configured at implementation time, the inbound arguments will be instances of this class. When instances of this class are sent outbound or returned from inbound calls, the raw payload will be serialized instead of applying traditional conversion.
Instance Attribute Summary collapse
-
#payload ⇒ Api::Common::V1::Payload
readonly
Payload.
Instance Method Summary collapse
-
#initialize(payload) ⇒ RawValue
constructor
Create a raw value.
Constructor Details
#initialize(payload) ⇒ RawValue
Create a raw value.
15 16 17 |
# File 'lib/temporalio/converters/raw_value.rb', line 15 def initialize(payload) @payload = payload end |
Instance Attribute Details
#payload ⇒ Api::Common::V1::Payload (readonly)
Returns Payload.
10 11 12 |
# File 'lib/temporalio/converters/raw_value.rb', line 10 def payload @payload end |