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: collection_presenter.rb
    path of file: ./repos/hyrax/app/presenters/hyrax
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
module Hyrax
  class CollectionPresenter
    include ModelProxy
    include PresentsAttributes
    include ActionView::Helpers::NumberHelper
    include ActionView::Helpers::TagHelper
    attr_accessor :solr_document, :current_ab
    
    def logo_record
      CollectionBrandingInfo.where(collection_id: id, role: "logo")
                            .select(:local_path, :alt_text, :target_url).map do |logo|
        { alttext: logo.alt_text,
          file: File.split(logo.local_path).last,
          file_location: "/#{logo.local_path.split('/')[-4..-1].join('/')}",
          linkurl: logo.target_url }
      end
    end