Sha256: 4d557785f6c7ead688c50c384032da363340135b0f8d862348e306b69fae15ed

Contents?: true

Size: 627 Bytes

Versions: 2

Compression:

Stored size: 627 Bytes

Contents

# Represents a review for a professional. One of the following
# attributes MUST be set when using this model:
# 
# * doctor_id
# * lawyer_id
#
# This model has the following attributes:
#
# * id 
# * overall_rating: The overall rating (out of 5 stars) given by this review.
# * title: The review's title
# * body: The first 150 characters of the review's body
# * url: A link to the review on Avvo
# * posted_by: The author of the review
# * posted_at: The date this review was posted
# * updated_at: The last time this review was updated
# 
class AvvoApi::Review < AvvoApi::Base
  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/review.rb
avvo_api-0.1.0 lib/avvo_api/review.rb