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: settings_controller.rb
    path of file: ./repos/fugu/app/controllers/users
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Users
  class SettingsController < ApplicationController
    before_action :authenticate_user!
    before_action :show_not_active_flash, only: %i[show]

    def show
      
    
    def show
      return unless ENV["FUGU_CLOUD"] == "true"

      # following code is irrelevant if you're self-hosting
      return unless current_user.canceled? && current_user.stripe_customer_id.present?

      customer = retrieve_stripe_customer

      return unless customer.subscriptions.data.first

      @cancel_at = format_cancel_time(customer.subscriptions.data.first.cancel_at)
    end