Class: RailsLiveDashboard::Current
- Inherits:
-
ActiveSupport::CurrentAttributes
- Object
- ActiveSupport::CurrentAttributes
- RailsLiveDashboard::Current
- Defined in:
- app/models/rails_live_dashboard/current.rb
Instance Method Summary collapse
-
#initialize ⇒ Current
constructor
A new instance of Current.
Constructor Details
#initialize ⇒ Current
Returns a new instance of Current.
5 6 7 8 |
# File 'app/models/rails_live_dashboard/current.rb', line 5 def initialize super self.batch_id = SecureRandom.uuid end |