Sha256: c7c970b4e5337d764594bf069ed4db55f1a8c7dd1842dba245637fde121a8359
Contents?: true
Size: 339 Bytes
Versions: 71
Compression:
Stored size: 339 Bytes
Contents
PowerConverter.define_conversion_for(:sipity_action) do |input, scope| workflow_id = PowerConverter.convert_to_sipity_workflow_id(scope) case input when Sipity::WorkflowAction input if input.workflow_id == workflow_id when String, Symbol Sipity::WorkflowAction.find_by(workflow_id: workflow_id, name: input.to_s) end end
Version data entries
71 entries across 71 versions & 3 rubygems