Sha256: ac663a8c1b5eb5ccb9bdbf502e6715a00221bef101d25a82dbdc81955580be8d

Contents?: true

Size: 507 Bytes

Versions: 2

Compression:

Stored size: 507 Bytes

Contents

# Represents a professional's headshot. Each professional only has one
# headshot, so finding a headshot should happen with the following call:
#
#   AvvoApi::Headshot.find(:one, :lawyer_id => l.id)
#
# When using this model, one of the following attributes MUST be set:
# 
# * doctor_id
# * lawyer_id
#
# This model has the following attribute:
#
# * headshot_url: The url to the standard-size headshot.
# 
class AvvoApi::Headshot < AvvoApi::Base
  singleton

  belongs_to :lawyer
  belongs_to :doctor
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
avvo_api-0.1.1 lib/avvo_api/headshot.rb
avvo_api-0.1.0 lib/avvo_api/headshot.rb