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



93
94
95
# File 'lib/wurk/compat.rb', line 93

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

.enabled?Boolean

Returns:

  • (Boolean)


97
98
99
# File 'lib/wurk/compat.rb', line 97

def enabled?
  Wurk::Encryption.enabled?
end