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: interpret_visibility_actor.rb
    path of file: ./repos/hyrax/app/actors/hyrax/actors
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
module Hyrax
  module Actors
    class InterpretVisibilityActor < AbstractActor
      cla
    
        def sanitize_params
          if valid_lease?
            sanitize_lease_params
          elsif valid_embargo?
            sanitize_embargo_params
          elsif !wants_lease? && !wants_embargo?
            sanitize_unrestricted_params
          else
            @attributes
          end