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



51
52
53
# File 'lib/wurk/compat.rb', line 51

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

.enabled?Boolean

Returns:

  • (Boolean)


55
56
57
# File 'lib/wurk/compat.rb', line 55

def enabled?
  Wurk::Encryption.enabled?
end