trabajo-afectivo/lib/sessions/event/ping.rb
2022-01-01 14:38:12 +01:00

21 lines
362 B
Ruby

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class Sessions::Event::Ping < Sessions::Event::Base
=begin
Event module to send pong to client connection.
To execute this manually, just paste the following into the browser console
App.WebSocket.send({event:'ping'})
=end
def run
{
event: 'pong',
}
end
end