Sha256: e9ae06a05054f274fcacc62071d253850c67f06574513ba5005825c29f323e6c

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

# Represents a language. One of the following attributes MUST
# be set when using this model:
# 
# * doctor_id
# * lawyer_id
#
# This model has the following attributes:
#
# * id 
# * name: The language name.
# * specialty_id: The language id. 'name' takes priority over this if both are set.
# 
class AvvoApi::Language < 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/language.rb
avvo_api-0.1.0 lib/avvo_api/language.rb