Sha256: 963c8d160cde0dfe5465dc2f3ff4aa09a28850f425dd7bc04c6ec450d7c2ba0b
Contents?: true
Size: 475 Bytes
Versions: 16
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true PowerConverter.define_conversion_for(:sipity_action) do |input, scope| Deprecation.warn('PowerConverter is deprecated. Use `Sipity::WorkflowAction(input, workflow)` instead') 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
16 entries across 16 versions & 1 rubygems