Class: Highrise::Company
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Taggable
#tag!, #tags, #untag!, #untag_id!
Methods included from Pagination
included
Methods inherited from Subject
#add_note, #emails, #notes, #upcoming_tasks
Class Method Details
.find_all_across_pages_since(time) ⇒ Object
6
7
8
|
# File 'lib/highrise/company.rb', line 6
def self.find_all_across_pages_since(time)
find_all_across_pages(:params => { :since => time.utc.to_s(:db).gsub(/[^\d]/, '') })
end
|
Instance Method Details
#label ⇒ Object
14
15
16
|
# File 'lib/highrise/company.rb', line 14
def label
'Party'
end
|
#people ⇒ Object
10
11
12
|
# File 'lib/highrise/company.rb', line 10
def people
Person.find(:all, :from => "/companies/#{id}/people.xml")
end
|