Sha256: 1217c1b3be5daad843000e060184d5424c016a8108da6e3a88c0e7be001f0a3b

Contents?: true

Size: 304 Bytes

Versions: 7

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Pakyow
  class Application
    module Helpers
      module Realtime
        module Broadcasting
          def broadcast(message)
            app.websocket_server.subscription_broadcast(socket_client_id, message)
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pakyow-realtime-1.0.6 lib/pakyow/application/helpers/realtime/broadcasting.rb
pakyow-realtime-1.0.5 lib/pakyow/application/helpers/realtime/broadcasting.rb
pakyow-realtime-1.0.4 lib/pakyow/application/helpers/realtime/broadcasting.rb
pakyow-realtime-1.0.3 lib/pakyow/application/helpers/realtime/broadcasting.rb
pakyow-realtime-1.0.2 lib/pakyow/application/helpers/realtime/broadcasting.rb
pakyow-realtime-1.0.1 lib/pakyow/application/helpers/realtime/broadcasting.rb
pakyow-realtime-1.0.0 lib/pakyow/application/helpers/realtime/broadcasting.rb