You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: broadcasting.rb
    path of file: ./repos/stackneveroverflow/vendor/bundle/ruby/2.3.0/gems/actioncable-5.0.3/lib/action_cable/channel
    
    the code of the file until where you have to start completion: require 'active_support/core_ext/object/to_param'

module ActionCable
  module Channel
    module Broadcasting
      extend ActiveSupport::Concern

      
    
        def broadcasting_for(model) #:nodoc:
          case
          when model.is_a?(Array)
            model.map { |m| broadcasting_for(m) }.join(':')
          when model.respond_to?(:to_gid_param)
            model.to_gid_param
          else
            model.to_param
          end