Class: OpenC3::PingModel
Class Method Summary collapse
Class Method Details
.get ⇒ Object
23 24 25 26 27 28 29 30 31 |
# File 'lib/openc3/models/ping_model.rb', line 23 def self.get() response = Store.ping() response2 = EphemeralStore.ping() if response and response2 return 'UP' else return 'DOWN' end end |