Class: Highrise::Person
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Pagination
included
Methods inherited from Subject
#emails, #notes, #upcoming_tasks
Class Method Details
.find_all_across_pages_since(time) ⇒ Object
5
6
7
|
# File 'lib/highrise/person.rb', line 5
def self.find_all_across_pages_since(time)
find_all_across_pages(:params => { :since => time.to_s(:db).gsub(/[^\d]/, '') })
end
|
Instance Method Details
#company ⇒ Object
9
10
11
|
# File 'lib/highrise/person.rb', line 9
def company
Company.find(company_id) if company_id
end
|
#name ⇒ Object
13
14
15
|
# File 'lib/highrise/person.rb', line 13
def name
"#{first_name} #{last_name}".strip
end
|