Class: ChangeHealth::Models::Eligibility::Encounter

Inherits:
Model
  • Object
show all
Defined in:
lib/change_health/models/eligibility/encounter.rb

Instance Method Summary collapse

Methods inherited from Model

#as_json, format_value, hashify, #to_h, #to_json

Instance Method Details

#add_service_type_code(code) ⇒ Object



15
16
17
18
# File 'lib/change_health/models/eligibility/encounter.rb', line 15

def add_service_type_code(code)
  self[:serviceTypeCodes] ||= []
  self[:serviceTypeCodes] << code
end