Sha256: 4ef0694a019a5df7829f6b32e4f32fc702beed45471044ed0ac20a9d9deba3bc
Contents?: true
Size: 320 Bytes
Versions: 28
Compression:
Stored size: 320 Bytes
Contents
module Health module Actions # The show action. class Show < Health::Action handle_exception Exception => :down def handle(*, response) = response.render view, color: :green private def down(*, response, _exception) = response.render view, color: :red, status: 503 end end end
Version data entries
28 entries across 28 versions & 1 rubygems