Class: RedoxEngine::Patient
- Inherits:
-
Object
- Object
- RedoxEngine::Patient
- Includes:
- Util
- Defined in:
- lib/redox-engine/patient.rb
Overview
Serialize the Patient response object from RedoxEngine
Instance Method Summary collapse
-
#initialize(patient_hash) ⇒ Patient
constructor
A new instance of Patient.
Methods included from Util
Constructor Details
#initialize(patient_hash) ⇒ Patient
Returns a new instance of Patient.
5 6 7 |
# File 'lib/redox-engine/patient.rb', line 5 def initialize(patient_hash) map_hash_to_attributes(patient_hash.rubyize_keys) end |