Class: Schked::Railtie::LivenessConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/schked/railtie.rb

Class Method Summary collapse

Class Method Details

.call(app) ⇒ Object



22
23
24
25
# File 'lib/schked/railtie.rb', line 22

def self.call(app)
  liveness_probe = app.config.schked.liveness_probe
  Schked.config.liveness_probe = liveness_probe if liveness_probe
end