Class: RocketJob::Subscribers::SecretConfig

Inherits:
Object
  • Object
show all
Includes:
RocketJob::Subscriber
Defined in:
lib/rocket_job/subscribers/secret_config.rb

Overview

Cause all instances to refresh their in-memory copy of the Secret Config Registry

RocketJob::Subscribers::SecretConfig.publish(:refresh)

Instance Method Summary collapse

Methods included from RocketJob::Subscriber

#process_action, #process_event, test_mode!, test_mode?

Instance Method Details

#refreshObject



10
11
12
13
14
# File 'lib/rocket_job/subscribers/secret_config.rb', line 10

def refresh
  logger.measure_info "Refreshed Secret Config" do
    ::SecretConfig.refresh!
  end
end