Class: Medivo::InsuranceOrder
- Inherits:
-
Order
- Object
- ActiveResource::Base
- LabResource
- Order
- Medivo::InsuranceOrder
- Defined in:
- app/models/medivo/insurance_order.rb
Instance Method Summary collapse
-
#insurance ⇒ Object
when getting the insurance info from medivo labs.
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
#insurance ⇒ Object
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 |