Class: Medivo::InsuranceOrder

Inherits:
Order show all
Defined in:
app/models/medivo/insurance_order.rb

Instance Method Summary collapse

Methods inherited from Order

#create, find_with_requisition, find_with_results, get_order, #initialize, #pdf_requisition, pdf_requisition, pdf_result, #pdf_result, #read_attribute_for_validation, #requisition_id, #result_date, #result_for_test, #results, #results_summary, #save, #simulate_result, #to_param

Constructor Details

This class inherits a constructor from Medivo::Order

Instance Method Details

#insuranceObject

when getting the insurance info from medivo labs



10
11
12
# File 'app/models/medivo/insurance_order.rb', line 10

def insurance
  @insurance ||= try(:insurance_information).try(:primary_insurance_info)
end