def interactor(options)
      # TODO: remove dependency on Interactor (let session handle this)
      case options
      when :off
        Interactor.enabled = false
      when Hash
        Interactor.options = options
      end
    end
def interactor(options)
      # TODO: remove dependency on Interactor (let session handle this)
      case options
      when :off
        Interactor.enabled = false
      when Hash
        Interactor.options = options
      end
    end
Sets the interactor options or disable the interactor.

 @example Pass options to the interactor
   interactor option1: 'value1', option2: 'value2'

 @example Turn off interactions
   interactor :off

 @param [Symbol, Hash] options either `:off` or a Hash with interactor
   options