truemail-rb/truemail-rack

View on GitHub
app/truemail_server/services/email_validator.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module TruemailServer
  module Services
    class EmailValidator
      def self.call(email)
        Truemail.validate(email).as_json
      end
    end
  end
end