Sha256: ecc64c4e2c381f75318458c9816ed85805a8a0f4df9ee5a679436027c572598f

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

module Highrise
  class Company < Subject
    include Pagination
    include Taggable
    include Searchable

    def self.find_all_across_pages_since(time)
      find_all_across_pages(:params => { :since => time.utc.strftime("%Y%m%d%H%M%S") })
    end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
highrise-3.0.0 lib/highrise/company.rb