class TowerdataEmail::Response

A wrapper to the response from an email search request

Attributes

demographics[RW]
email[RW]
postal[RW]

Public Class Methods

new(response) click to toggle source
# File lib/towerdata_email.rb, line 93
def initialize(response)
  @email = Email.new(response['email'])
  @postal = Postal.new(response['found_postal'])
  @demographics = Demographics.new(response['demographics'])
end