Sha256: 97ecc739a0dbd8c98cfbaca830fb4ce49c22183b30033be5f4b778a7728cebc1

Contents?: true

Size: 192 Bytes

Versions: 1

Compression:

Stored size: 192 Bytes

Contents

module ModelTransporter
  module PushAdapter
    class ActionCable
      def push_update(channel, message)
        ::ActionCable.server.broadcast(channel, message)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
model_transporter-0.1.0 lib/model_transporter/push_adapter/action_cable.rb