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: saml_endpoint.rb
    path of file: ./repos/identity-idp/app/services
    
    the code of the file until where you have to start completion: class SamlEndpoint
  attr_reader :year

  def initialize(year)
    @year = year
  end

  def self.suffixes
    endpoint_configs.pluck(:suffix)
  end

  def s
    
  def saml_metadata
    config = SamlIdp.config.dup
    config.single_service_post_location += year
    if IdentityConfig.store.include_slo_in_saml_metadata
      config.single_logout_service_post_location += year
      config.remote_logout_service_post_location += year
    else
      config.single_logout_service_post_location = nil
      config.remote_logout_service_post_location = nil
    end