Ruby

User Contributed Ruby Wrapper(s)https://github.com/afrase/zerobounce to find more details about user contributed Ruby

Ruby Configuration

# Configure the clientZerobounce.configure do|config|config.apikey ='key'config.valid_statuses =[:valid,:catch_all,:unknown]endresp =Zerobounce.validate(email:'valid@example.com')resp.valid?#=> true# Change what is considered a valid statusZerobounce.valid?('invalid@example.com')#=> falseZerobounce.config.valid_statuses =[:invalid]Zerobounce.valid?('invalid@example.com')#=> true# Use a different API key for one requestZerobounce.validate(email:'valid@example.com',apikey:'different-api-key')