Sha256: b4e14ea01c375c3a87f09405e9ce1730119c3b25b83a414f5f14979ce8b57f48
Contents?: true
Size: 320 Bytes
Versions: 16
Compression:
Stored size: 320 Bytes
Contents
# frozen_string_literal: true PowerConverter.define_conversion_for(:sipity_role) do |input| Deprecation.warn('PowerConverter is deprecated. Use `Sipity::WorkflowAction.name_for(input)` instead') case input when Sipity::Role input when String, Symbol Sipity::Role.find_or_create_by(name: input) end end
Version data entries
16 entries across 16 versions & 1 rubygems