Class: HealthMode::UserMetric
- Defined in:
- lib/metrics/user_metric.rb
Class Attribute Summary collapse
-
.system_metrics ⇒ Object
Returns the value of attribute system_metrics.
-
.users_num ⇒ Object
Returns the value of attribute users_num.
Class Method Summary collapse
Class Attribute Details
.system_metrics ⇒ Object
Returns the value of attribute system_metrics.
4 5 6 |
# File 'lib/metrics/user_metric.rb', line 4 def system_metrics @system_metrics end |
.users_num ⇒ Object
Returns the value of attribute users_num.
4 5 6 |
# File 'lib/metrics/user_metric.rb', line 4 def users_num @users_num end |
Class Method Details
.current_state ⇒ Object
7 8 9 10 |
# File 'lib/metrics/user_metric.rb', line 7 def current_state refresh_state { "users_num" => @users_num } end |