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