demarches-normaliennes/app/controllers/email_checker_controller.rb
mfo 8e3d45b0b1
review(pr): some enhancement, tx @colinux
Co-Authored-By: Colin Darie <colin@darie.eu>
2024-06-11 10:48:10 +02:00

5 lines
137 B
Ruby

class EmailCheckerController < ApplicationController
def show
render json: EmailChecker.new.check(email: params[:email])
end
end