Class: AvvoApi::Phone

Inherits:
Base
  • Object
show all
Defined in:
lib/avvo_api/phone.rb

Overview

Represents a phone number tied to an address. One of the following attributes MUST be set when using this model:

  • doctor_id

  • lawyer_id

Additionally, the following attribute MUST be set when using this model:

  • address_id

This model has the following attributes:

  • id

  • phone_number: The phone number. Will be normalized by Avvo.

  • phone_type_id: The type of the phone number, as an AvvoApi::PhoneType constant. (Only applicable when creating or updating records)

  • phone_type: A string representation of the phone type

Constant Summary

Constants inherited from Base

Base::API_VERSION