Module: Nis::Endpoint::Heartbeat

Included in:
Nis
Defined in:
lib/nis/endpoint/heartbeat.rb

Instance Method Summary collapse

Instance Method Details

#heartbeatNis::Struct::NemRequestResult

Determines if NIS is up and responsive.



6
7
8
# File 'lib/nis/endpoint/heartbeat.rb', line 6

def heartbeat
  Nis::Struct::NemRequestResult.build request(:get, '/heartbeat')
end