Sha256: 3f3269e55d1ebcf156512c8deeee27fbe01971c3c3ba6d3443f756b24cdecb8a
Contents?: true
Size: 389 Bytes
Versions: 1
Compression:
Stored size: 389 Bytes
Contents
module Medivo class InsuranceOrder < Order set_element_name 'customer' set_collection_name 'customers' validates_with Medivo::ArrayValidator, fields: [:diagnosis_code] validates_with PrimaryInsurance # when getting the insurance info from medivo labs def insurance @insurance ||= try(:insurance_information).try(:primary_insurance_info) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
medivo-0.2.24 | app/models/medivo/insurance_order.rb |