Class: Apps

Inherits:
InformatorBase show all
Defined in:
lib/ns24-dashing-collector/informators/apps.rb

Instance Method Summary collapse

Instance Method Details

#infoObject



8
9
10
11
12
# File 'lib/ns24-dashing-collector/informators/apps.rb', line 8

def info
  {
    current: 50 + rand(50)
  }
end

#metricObject



4
5
6
# File 'lib/ns24-dashing-collector/informators/apps.rb', line 4

def metric
  'active_apps'
end