Sha256: e97e01b967dce705ed8193ad6ece545b488a8c14c93b116b1c760ac8be9095e5
Contents?: true
Size: 630 Bytes
Versions: 12
Compression:
Stored size: 630 Bytes
Contents
module Xeroizer module Record class PhoneModel < BaseModel end class Phone < Base PHONE_TYPE = { 'DEFAULT' => 'Default', 'DDI' => 'Direct Dial-In', 'MOBILE' => 'Mobile', 'FAX' => 'Fax' } unless defined?(PHONE_TYPE) string :phone_type, :internal_name => :type string :phone_number, :internal_name => :number string :phone_area_code, :internal_name => :area_code string :phone_country_code, :internal_name => :country_code validates_length_of :phone_number, :max => 50 end end end
Version data entries
12 entries across 12 versions & 2 rubygems