Class: ExpoTurbo::Rails::Cable::ProtectedBroadcastJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/expo_turbo/rails/cable/protected_broadcast_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(token, content:) ⇒ Object



11
12
13
# File 'lib/expo_turbo/rails/cable/protected_broadcast_job.rb', line 11

def perform(token, content:)
  ExpoTurbo::Rails::Cable.broadcast_to_protected_token(token, content:)
end