Class: Redox::Models::Scheduling

Inherits:
AbstractModel show all
Defined in:
lib/redox/models/scheduling.rb

Constant Summary

Constants inherited from AbstractModel

AbstractModel::HIGH_LEVEL_KEYS

Instance Method Summary collapse

Methods inherited from AbstractModel

from_response, from_response_inflected, #insurances, #to_json

Instance Method Details

#add_appointment_info(code: nil, codeset: nil, description: nil, value: nil) ⇒ Object



12
13
14
15
16
17
18
19
20
21
# File 'lib/redox/models/scheduling.rb', line 12

def add_appointment_info(code: nil, codeset: nil, description: nil, value: nil)
  self[:AppointmentInfo] << {
    Code: code,
    Codeset: codeset,
    Description: description,
    Value: value
  }

  self
end