Class: Highrise::Company

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

Instance Method Summary collapse

Methods included from Searchable

included

Methods included from Taggable

#tag!, #tags, #untag!

Methods included from Pagination

included

Methods inherited from Subject

#add_note, #add_task, #emails, #notes, #upcoming_tasks

Methods inherited from Base

headers, oauth_token=

Instance Method Details

#labelObject


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

def label
  'Party'
end

#peopleObject


7
8
9
# File 'lib/highrise/company.rb', line 7

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