Class: OpenC3::PingModel
Class Method Summary collapse
Class Method Details
.get ⇒ Object
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 |