Getting Started
Install the Ruby email verification SDK by running gem install ev_email_verifier or adding gem 'ev_email_verifier' to your Gemfile and running bundle install. The gem supports Ruby 2.7 and above, including Ruby 3.0, 3.1, 3.2, and 3.3. It uses the Faraday HTTP client for flexible adapter support and follows standard Ruby gem conventions. For Rails applications, the gem includes an engine that auto-configures itself when the gem is loaded via Bundler.
After installation, create a client instance by passing your API key. For Rails applications, run rails generate ev_email_verifier:install to generate an initializer at config/initializers/ev_email_verifier.rb where you can configure the API key, timeout, retry settings, and sandbox mode. The initializer reads ENV['EV_API_KEY'] by default. The gem also provides a custom ActiveModel validator that you can use directly in your models, an ActiveJob integration for background verification, and Rack middleware for verifying emails on incoming form submissions.