Class: OpenC3::PingModel

Inherits:
Object show all
Defined in:
lib/openc3/models/ping_model.rb

Class Method Summary collapse

Class Method Details

.getObject



28
29
30
31
32
33
34
35
36
# File 'lib/openc3/models/ping_model.rb', line 28

def self.get()
  response = Store.ping()
  response2 = EphemeralStore.ping()
  if response and response2
    return 'UP'
  else
    return 'DOWN'
  end
end