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: save_collection_banner.rb
    path of file: ./repos/hyrax/lib/hyrax/transactions/steps
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
module Hyrax
  module Transactions
    module Steps
      ##
      # Adds banner info via `ChangeSet`.
      #
      # During the update collection process this step is called to update the file
      # to be used as a the banner for the collection.
      #
      class SaveCollectionB
    
        def add_new_banner(collection_id:, uploaded_file_ids:)
          f = uploaded_files(uploaded_file_ids).first
          banner_info = CollectionBrandingInfo.new(
            collection_id: collection_id,
            filename: File.split(f.file_url).last,
            role: "banner",
            alt_txt: "",
            target_url: ""
          )
          banner_info.save f.file_url
        end