Update listing.rb

Make generate_secret_url a private method