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

#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

#labelObject



14
15
16
# File 'lib/highrise/company.rb', line 14

def label
  'Party'
end

#peopleObject



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

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