Module: Sidekiq::Enterprise::Crypto

Defined in:
lib/wurk/compat.rb

Overview

AES-256-GCM args encryption. ‘Sidekiq::Enterprise::Crypto.enable(…)` delegates to `Wurk::Encryption.enable`. Spec: docs/target/sidekiq-ent.md §4.

Class Method Summary collapse

Class Method Details

.enable(active_version:) ⇒ Object



74
75
76
# File 'lib/wurk/compat.rb', line 74

def enable(active_version:, &)
  Wurk::Encryption.enable(active_version: active_version, &)
end

.enabled?Boolean

Returns:

  • (Boolean)


78
79
80
# File 'lib/wurk/compat.rb', line 78

def enabled?
  Wurk::Encryption.enabled?
end