Usage of email validation using Ruby

Download Api from GitHub

Installation

Add this line to your application's Gemfile:


			  gem 'email_list_verify'
		   

And then execute:


			  $ bundle
		   

Or install it yourself as:


			  $ gem install email_list_verify
		   

Usage

To use the gem, first include email_list_verify


			  require 'email_list_verify'
		   

Then create an instance of the EmailListVerify with api_key as the parameter


			   api_key = 'YOUR_API_KEY'
			   client = EmailListVerify.new(api_key)
		   

Now the API calls can be done via the client

For OneByOne Verification


			   client.one_by_one('email_to_verify')
		   

To Upload a Bulk File


			   client.upload_file('file_name','path/to/file')
		   

path/to/file is optional if file_name file is present in same directory

To get the status of the last uploaded file


			   client.bulk_status
		   

To get the status of any file with file_id


			   client.bulk_status("file_id")