lib/targetdata/entities/person.rb in targetdata-0.2.1 vs lib/targetdata/entities/person.rb in targetdata-0.3.0

- old
+ new

@@ -1,9 +1,10 @@ module Targetdata module Entities class Person attr_accessor :cpf, + :email, :first_name, :middle_name, :last_name, :gender, :birth, @@ -21,9 +22,10 @@ :mother_last_name, :schooling def initialize params = {} @cpf = params['CPF'] + @email = params['email'] @first_name = params['nomePrimeiro'] @middle_name = params['nomeMeio'] @last_name = params['nomeUltimo'] @gender = params['sexo'] @birth = params['dataNascimento'] \ No newline at end of file