Class: InfluxDB2::Ping

Inherits:
Object
  • Object
show all
Defined in:
lib/influxdb2/client/ping_api.rb

Overview

The status of InfluxDB instance and version of InfluxDB.

Instance Attribute Summary collapse

Instance Attribute Details

#buildObject

The type of InfluxDB build.


54
55
56
# File 'lib/influxdb2/client/ping_api.rb', line 54

def build
  @build
end

#messageObject

The error message.


63
64
65
# File 'lib/influxdb2/client/ping_api.rb', line 63

def message
  @message
end

#statusObject

The status of InfluxDB.


60
61
62
# File 'lib/influxdb2/client/ping_api.rb', line 60

def status
  @status
end

#versionObject

The version of InfluxDB.


57
58
59
# File 'lib/influxdb2/client/ping_api.rb', line 57

def version
  @version
end