Sha256: 03b583b6fb8b5f4f1cc8044659aa22b454865d99cfabd3de45a3798a9288a0ee

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

module Highrise
  class Company < Subject
    include Pagination

    def self.find_all_across_pages_since(time)
      find_all_across_pages(:params => { :since => time.to_s(:db).gsub(/[^\d]/, '') })
    end

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
slainer68-highrise-0.6.1 lib/highrise/company.rb
slainer68-highrise-0.6 lib/highrise/company.rb
tapajos-highrise-0.6 lib/highrise/company.rb