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: store_sp_metadata_in_session.rb
    path of file: ./repos/identity-idp/app/services
    
    the code of the file until where you have to start completion: class StoreSpMetadataInSession
  def initialize(session:, request_id:)
    
    
  def call(service_provider_request: nil, requested_service_provider: nil)
    @sp_request = service_provider_request if service_provider_request
    @service_provider = requested_service_provider

    return if sp_request.is_a?(NullServiceProviderRequest)
    update_session
  end