class Trailblazer::Operation::Railway::Result
The Railway::Result
knows about its binary state, the context (data), and the last event in the circuit.
Attributes
event[R]
Public Class Methods
new(success, data, event)
click to toggle source
Calls superclass method
# File lib/trailblazer/operation/railway.rb, line 20 def initialize(success, data, event) super(success, data) @event = event end