Sha256: 45e53b3a96f6f614d6f43b21048124011a7d7214c8c6397cd355a1ed6d1d8f8c

Contents?: true

Size: 408 Bytes

Versions: 12

Compression:

Stored size: 408 Bytes

Contents

module Highrise
  class Person < Subject
    include Pagination
    include Taggable
    
    def self.find_all_across_pages_since(time)
      find_all_across_pages(:params => { :since => time.utc.to_s(:db).gsub(/[^\d]/, '') })
    end
  
    def company
      Company.find(company_id) if company_id
    end
  
    def name
      "#{first_name rescue ''} #{last_name rescue ''}".strip
    end
    
  end

end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
kmayer-highrise-0.11.0 lib/highrise/person.rb
kmayer-highrise-0.11.1 lib/highrise/person.rb
kmayer-highrise-0.12.0 lib/highrise/person.rb
kmayer-highrise-0.13.0 lib/highrise/person.rb
kmayer-highrise-0.7.0 lib/highrise/person.rb
kmayer-highrise-0.7.1 lib/highrise/person.rb
kmayer-highrise-0.8.0 lib/highrise/person.rb
kmayer-highrise-0.8.1 lib/highrise/person.rb
kmayer-highrise-0.9.0 lib/highrise/person.rb
kmayer-highrise-0.9.1 lib/highrise/person.rb
kmayer-highrise-0.9.2 lib/highrise/person.rb
tapajos-highrise-0.8.0 lib/highrise/person.rb