Sha256: d0d83f6d45324630ad3cefe411913f94df8691455ffe5ab2cc0df0cdfce80607

Contents?: true

Size: 244 Bytes

Versions: 2

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

module Routes
  class Healthz < App

    route do |r|

      # GET /healthz
      r.root do
        response['Content-Type'] = 'text/plain; charset=utf-8'
        'alive and kicking'
      end

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rodbot-0.5.1 lib/templates/new/app/routes/healthz.rb
rodbot-0.5.0 lib/templates/new/app/routes/healthz.rb