Class: RedoxEngine::Patient

Inherits:
Object
  • Object
show all
Includes:
Util
Defined in:
lib/redox-engine/patient.rb

Overview

Serialize the Patient response object from RedoxEngine

Instance Method Summary collapse

Methods included from Util

#map_hash_to_attributes

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