Sha256: 6e69715d365c2b6d8bd2be684f69789b387c7ffa58d87fa598ed1671a5843053

Contents?: true

Size: 249 Bytes

Versions: 29

Compression:

Stored size: 249 Bytes

Contents

# frozen_string_literal: true

module Vmpooler
  class API
    class Healthcheck < Sinatra::Base
      get '/healthcheck/?' do
        content_type :json

        status 200
        JSON.pretty_generate({ 'ok' => true })
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
vmpooler-3.6.0 lib/vmpooler/api/healthcheck.rb
vmpooler-3.5.1 lib/vmpooler/api/healthcheck.rb
vmpooler-3.5.0 lib/vmpooler/api/healthcheck.rb
vmpooler-3.4.0 lib/vmpooler/api/healthcheck.rb
vmpooler-3.3.0 lib/vmpooler/api/healthcheck.rb
vmpooler-3.2.0 lib/vmpooler/api/healthcheck.rb
vmpooler-3.1.0 lib/vmpooler/api/healthcheck.rb
vmpooler-3.0.0 lib/vmpooler/api/healthcheck.rb
vmpooler-2.5.0 lib/vmpooler/api/healthcheck.rb
vmpooler-2.4.0 lib/vmpooler/api/healthcheck.rb
vmpooler-2.3.0 lib/vmpooler/api/healthcheck.rb
vmpooler-2.2.0 lib/vmpooler/api/healthcheck.rb
vmpooler-2.1.0 lib/vmpooler/api/healthcheck.rb
vmpooler-2.0.0 lib/vmpooler/api/healthcheck.rb
vmpooler-1.3.0 lib/vmpooler/api/healthcheck.rb
vmpooler-1.2.0 lib/vmpooler/api/healthcheck.rb
vmpooler-1.1.2 lib/vmpooler/api/healthcheck.rb
vmpooler-1.1.1 lib/vmpooler/api/healthcheck.rb
vmpooler-1.1.0 lib/vmpooler/api/healthcheck.rb
vmpooler-1.0.0 lib/vmpooler/api/healthcheck.rb