Class: AdminDashboardIndexData
- Inherits:
-
AdminDashboardData
- Object
- AdminDashboardData
- AdminDashboardIndexData
- Defined in:
- app/models/admin_dashboard_index_data.rb
Constant Summary
Constants inherited from AdminDashboardData
AdminDashboardData::GLOBAL_REPORTS, AdminDashboardData::PROBLEM_MESSAGE_PREFIX, AdminDashboardData::SCHEDULED_PROBLEM_STORAGE_KEY
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from AdminDashboardData
add_problem_check, add_problem_message, #as_json, clear_problem_message, clear_problems_started, fetch_problems, fetch_stats, #initialize, problem_message_check, problem_message_key, #problems, problems_started_at, problems_started_key, reports, reset_problem_checks, set_problems_started
Constructor Details
This class inherits a constructor from AdminDashboardData
Class Method Details
.stats_cache_key ⇒ Object
8 9 10 |
# File 'app/models/admin_dashboard_index_data.rb', line 8 def self.stats_cache_key "index-dashboard-data-#{Report::SCHEMA_VERSION}" end |
Instance Method Details
#get_json ⇒ Object
4 5 6 |
# File 'app/models/admin_dashboard_index_data.rb', line 4 def get_json { updated_at: Time.zone.now.as_json } end |