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: give.rb
    path of file: ./repos/ekylibre/app/services/reception/transitions
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class Reception
  module Transitions
    class Give < Transitionable::Transition
      event :give
      from :draft
      to :given

      attr_reader :given_at

      def initializ
    
        def existing_product_in_storage(storing, variant)
          similar_products = Product.where(variant: variant)

          similar_products.find do |p|
            location = p.localizations.last.container
            owner = p.owner
            location == storing.storage && owner == Entity.of_company
          end
        end