Class: Highrise::Company

Inherits:
Subject
  • Object
show all
Includes:
Pagination
Defined in:
lib/highrise/company.rb

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/company.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

#peopleObject



9
10
11
# File 'lib/highrise/company.rb', line 9

def people
  Person.find(:all, :from => "/companies/#{id}/people.xml")
end