class AnyMailFinder::Email

Constants

API_PATH

Attributes

email[RW]

Public Class Methods

new(email = nil) click to toggle source
# File lib/any_mail_finder/email.rb, line 6
def initialize(email = nil)
  @email = email
end

Public Instance Methods

validate() click to toggle source
# File lib/any_mail_finder/email.rb, line 10
def validate
  options = { email: email }
  post path, options
end

Private Instance Methods

path() click to toggle source
# File lib/any_mail_finder/email.rb, line 17
def path
  API_HOST + API_PATH
end