Module: Dawn::API

Defined in:
lib/dawn/api/version.rb,
lib/dawn/api/health_check.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Version

Constant Summary collapse

VERSION =

backward compatibility

Version::STRING

Class Method Summary collapse

Class Method Details

.health_checkObject

Verifies that the server is running.



6
7
8
9
10
11
12
# File 'lib/dawn/api/health_check.rb', line 6

def self.health_check
  Dawn.request(
    expects: 200,
    method: :get,
    path: "/healthcheck"
  )
end