Sha256: 2db72be94b86017ab6cb2044c568370ab2a40a140d66362cf042014678e14814
Contents?: true
Size: 925 Bytes
Versions: 2
Compression:
Stored size: 925 Bytes
Contents
# Constants representing the various values for +phone_type_id+ in AvvoApi::Phone module AvvoApi::PhoneType # There is no type specified for this number UNKNOWN = 1 # This is an office number OFFICE = 2 # This is a fax number FAX = 3 # This is a mobile number MOBILE = 4 end # 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 # class AvvoApi::Phone < AvvoApi::Base belongs_to :address end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
avvo_api-0.1.1 | lib/avvo_api/phone.rb |
avvo_api-0.1.0 | lib/avvo_api/phone.rb |