Method: Eye::Application#status_data

Defined in:
lib/eye/application.rb

#status_data(debug = false) ⇒ Object



29
30
31
32
33
# File 'lib/eye/application.rb', line 29

def status_data(debug = false)
  h = { name: @name, type: :application, subtree: @groups.map{|gr| gr.status_data(debug) }}
  h.merge!(debug: debug_data) if debug
  h
end