Class: Highrise::Company

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

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Taggable

#get_document, #tag!, #tags, #untag!, #untag_id!

Methods included from Pagination

included

Methods inherited from Subject

#add_deal!, #add_note!, #add_task!, #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

#peopleObject



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

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