Sha256: df5b29eafdf3388d6adf17262f4ed5fcc4bfa89d6393c3cd76d7eae49056f3a8
Contents?: true
Size: 428 Bytes
Versions: 48
Compression:
Stored size: 428 Bytes
Contents
require_relative 'resource_config' 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
48 entries across 48 versions & 1 rubygems