# frozen_string_literal: true

# app/middleware/my_custom_directory.rb
# class DirectoryElevator < Apartment::Elevators::Generic
#   def parse_tenant_name(request)
#     # request is an instance of Rack::Request
#     tenant_name = TourSet.subdomain(request.fullpath.split('/')[1])

#     tenant_name
#   end
# end
