Class: Heartcheck::Controllers::Info

Inherits:
Base
  • Object
show all
Defined in:
lib/heartcheck/controllers/info.rb

Instance Method Summary collapse

Instance Method Details

#indexObject


4
5
6
7
8
# File 'lib/heartcheck/controllers/info.rb', line 4

def index
  Oj.dump(Heartcheck
          .info_checks
          .map(&:informations))
end