lib/pakyow/realtime/websocket.rb in pakyow-realtime-1.0.0.rc5 vs lib/pakyow/realtime/websocket.rb in pakyow-realtime-1.0.0
- old
+ new
@@ -1,12 +1,12 @@
# frozen_string_literal: true
require "json"
require "securerandom"
-require "pakyow/helpers/app"
-require "pakyow/helpers/connection"
+require "pakyow/application/helpers/app"
+require "pakyow/application/helpers/connection"
require "async/websocket"
require "protocol/websocket/connection"
require "protocol/websocket/headers"
@@ -33,11 +33,11 @@
def call
self.close
end
end
- include Pakyow::Helpers::App
- include Pakyow::Helpers::Connection
+ include Pakyow::Application::Helpers::Application
+ include Pakyow::Application::Helpers::Connection
attr_reader :id
def initialize(id, connection)
@id, @connection, @open = id, connection, false