Class: Herdis::Handlers::Sanity
- Inherits:
-
Goliath::API
- Object
- Goliath::API
- Herdis::Handlers::Sanity
- Includes:
- Common
- Defined in:
- lib/herdis/handlers/sanity.rb
Instance Method Summary collapse
Methods included from Common
Instance Method Details
#response(env) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/herdis/handlers/sanity.rb', line 9 def response(env) if Herdis::Plugins::ShepherdConnection.shepherd.nil? [404, {}, ""] else [200, {}, Herdis::Plugins::ShepherdConnection.shepherd.sanity] end end |