Class: Smith::Workflow::Graph::TransitionContractAttributes

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/smith/workflow/graph/transition_contract_attributes.rb

Instance Method Summary collapse

Instance Method Details

#to_hObject



16
17
18
19
20
21
# File 'lib/smith/workflow/graph/transition_contract_attributes.rb', line 16

def to_h
  identity_attributes
    .merge(routing_attributes)
    .merge(kind_attributes)
    .merge(TransitionContractConfigurations.new(transition, identifiers:).to_h)
end