def delete_channels!(identifiers)
      identifiers.each do |identifier|
        channel = @channels.find { |chan| chan.identifier_eql? identifier }
        if channel.nil?
          raise CommandError, "channel #{identifier.inspect} does not exist"
        end

        @channels.delete channel
      end
    end
def delete_channels!(identifiers)
      identifiers.each do |identifier|
        channel = @channels.find { |chan| chan.identifier_eql? identifier }
        if channel.nil?
          raise CommandError, "channel #{identifier.inspect} does not exist"
        end

        @channels.delete channel
      end
    end
Deletes the specified channels from this integration.

 @note This method is not thread-safe and should only be called from an
       active transaction.
 @param identifiers [Array<String>] the channel identifiers to remove
 @raise [CommandError] if one of the channel identifiers does not exist