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: actions.rb
    path of file: ./repos/sequencescape/app/api/core/endpoint/basic_handler
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
# rubocop:todo Metrics/ModuleLength
module Core::Endpoint::BasicHandler::Actions
  cl
    
  def disable(*actions) # rubocop:todo Metrics/MethodLength
    actions.each do |action|
      line = __LINE__ + 1
      singleton_class.class_eval(
        "
        def _#{action}(request, response)
          raise ::Core::Service::UnsupportedAction
        end
      ",
        __FILE__,
        line
      )
      @actions.delete(action.to_sym)
    end
  end