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: notified_projects.rb
    path of file: ./repos/open-build-service/src/api/app/services
    
    the code of the file until where you have to start completion: class NotifiedProjects
  def initialize(notification)
    @notification = notification
    @notifiable = @notification.notifiable
  end

  # rubocop:disable Metrics/CyclomaticComplexity
  def call
    return Project.none if @notifiable.blank?

    case @notification.notifiable_type
    
  def call
    return Project.none if @notifiable.blank?

    case @notification.notifiable_type
    when 'BsRequest'
      @notifiable.target_project_objects.distinct
    when 'Comment'
      case @notifiable.commentable_type
      when 'Project'
        [@notifiable.commentable]
      when 'Package'
        [@notifiable.commentable.project]
      when 'BsRequest'
        @notifiable.commentable.target_project_objects.distinct
      when 'BsRequestAction'
        @notifiable.commentable.bs_request.target_project_objects.distinct
      end