class Yardi::Model::Prospect

Basic data about a Prospect returned from the Yardi API

Search for Prospect records using Yardi::Request::GetYardiGuestActivity

Attributes

email[R]

The Prospect's email address according to Yardi's database

events[R]

An Array of Yardi::Model::Event objects

first_name[R]

The Prospect's first name according to Yardi's database

last_name[R]

The Prospect's last name according to Yardi's database

phones[R]

An Array of the Prospect's phone numbers, or nil if there are none

prospect_id[R]

The Prospect id from Yardi's database e.g. “p00003693”

tenant_id[R]

The tenant id from Yardi's database e.g. “t000456”

Public Class Methods

new( first_name:, last_name:, email:, phones:, events:, prospect_id:, tenant_id: ) click to toggle source
# File lib/yardi/model/prospect.rb, line 30
def initialize(
  first_name:,
  last_name:,
  email:,
  phones:,
  events:,
  prospect_id:,
  tenant_id:
)
  @first_name = first_name
  @last_name = last_name
  @email = email
  @phones = phones
  @events = events
  @prospect_id = prospect_id
  @tenant_id = tenant_id
end