Class: Healthcheck::Router

Inherits:
Object
  • Object
show all
Defined in:
lib/healthcheck/router.rb

Class Method Summary collapse

Class Method Details

.mount(router) ⇒ Object



5
6
7
8
9
10
# File 'lib/healthcheck/router.rb', line 5

def self.mount(router)
  router.send(
    Healthcheck.configuration.method,
    Healthcheck.configuration.route => 'healthcheck/healthchecks#check'
  )
end