enum

Inquirer::Command

Inherits Enum < Comparable < Value < Object

Represents a command sent to the Inquirer server and, well, received by the Inquirer server.

Commands can be used to make the Inquirer server do/return something, or to make the Inquirer daemon do/return something.

The do/return thing depends on the method, e.g. POST and GET, correspondingly.

Constants

Die = 0

Stops the daemon and the server. Should return status OK.

Ping = 1

Checks for connection/existence. Should return status OK.

Instance methods

die?

Returns true if this enum value equals Die

Source
ping?

Returns true if this enum value equals Ping

Source