Class: RailsLiveDashboard::Context
- Inherits:
-
Object
- Object
- RailsLiveDashboard::Context
- Includes:
- Singleton
- Defined in:
- lib/rails_live_dashboard/context.rb
Instance Method Summary collapse
Instance Method Details
#batch_id ⇒ Object
11 12 13 |
# File 'lib/rails_live_dashboard/context.rb', line 11 def batch_id @batch_id ||= SecureRandom.uuid end |
#reset ⇒ Object
15 16 17 |
# File 'lib/rails_live_dashboard/context.rb', line 15 def reset @batch_id = nil end |
#start ⇒ Object
7 8 9 |
# File 'lib/rails_live_dashboard/context.rb', line 7 def start @batch_id = SecureRandom.uuid end |