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



95
96
97
# File 'lib/wurk/compat.rb', line 95

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

.enabled? ⇒ Boolean

Returns:

  • (Boolean)


99
100
101
# File 'lib/wurk/compat.rb', line 99

def enabled?
  Wurk::Encryption.enabled?
end