Class: Kobako::Wire::Envelope::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/kobako/wire/envelope/payloads.rb

Overview

Result (SPEC.md Outcome Envelope → Result)

Success Outcome payload. SPEC pins the Result envelope as a 1-element msgpack array carrying the value, keeping framing symmetric with the Panic envelope so the value position is never ambiguous.

Instance Attribute Summary collapse

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



20
21
22
# File 'lib/kobako/wire/envelope/payloads.rb', line 20

def value
  @value
end