module EventSource

Constants

EVENT_ID_KEY

Public Instance Methods

read_and_clear_event_id() click to toggle source
# File lib/generators/disco/app/templates/app/controllers/concerns/event_source.rb, line 9
def read_and_clear_event_id
  session.delete EVENT_ID_KEY
end
store_event_id(event_id) click to toggle source
# File lib/generators/disco/app/templates/app/controllers/concerns/event_source.rb, line 13
def store_event_id(event_id)
  session[EVENT_ID_KEY] = event_id
end