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: pending_presenter.rb
    path of file: ./repos/identity-idp/app/presenters/account_reset
    
    the code of the file until where you have to start completion: module AccountReset
  class PendingPresenter
    include ActionView::Helpers::DateHelper

    attr_reader :account_reset_request

    def initialize(account_reset_request)
      @account_reset_request = account_reset_request
    end

 
    
    def time_remaining_until_granted(now: Time.zone.now)
      wait_time = IdentityConfig.store.account_reset_wait_period_days.days

      distance_of_time_in_words(
        now,
        account_reset_request.requested_at + wait_time,
        true,
        highest_measures: 2,
      )
    end