Class: Rubyception::Subscriber

Inherits:
ActiveSupport::LogSubscriber
  • Object
show all
Defined in:
lib/rubyception/subscriber.rb

Constant Summary collapse

INTERNAL_PARAMS =
%w(controller action format _method only_path)

Instance Method Summary collapse

Instance Method Details

#process_action(event) ⇒ Object



10
11
12
# File 'lib/rubyception/subscriber.rb', line 10

def process_action(event)
  Rubyception::WebsocketServer.current_entry.finalize event
end

#start_processing(event) ⇒ Object

ActionController



6
7
8
# File 'lib/rubyception/subscriber.rb', line 6

def start_processing(event)
  Rubyception::WebsocketServer.start event
end