Method: Eye::Application#status_data

Defined in:
lib/eye/application.rb

#status_data(opts = {}) ⇒ Object



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

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