Class: RailsLiveDashboard::Current

Inherits:
ActiveSupport::CurrentAttributes
  • Object
show all
Defined in:
app/models/rails_live_dashboard/current.rb

Instance Method Summary collapse

Constructor Details

#initializeCurrent

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