Class: PreOp::PreRisk
- Inherits:
-
Struct
- Object
- Struct
- PreOp::PreRisk
- Defined in:
- lib/aqi/pre_op.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#name ⇒ Object
Returns the value of attribute name.
-
#notes ⇒ Object
Returns the value of attribute notes.
Instance Method Summary collapse
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category
13 14 15 |
# File 'lib/aqi/pre_op.rb', line 13 def category @category end |
#name ⇒ Object
Returns the value of attribute name
13 14 15 |
# File 'lib/aqi/pre_op.rb', line 13 def name @name end |
#notes ⇒ Object
Returns the value of attribute notes
13 14 15 |
# File 'lib/aqi/pre_op.rb', line 13 def notes @notes end |
Instance Method Details
#to_xml ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/aqi/pre_op.rb', line 14 def to_xml builder = Builder::XmlMarkup.new builder.PreRisk do |prs| prs.PreOPRiskCategory(category) prs.PreOPRiskName(name) prs.PreOPRiskNotes(notes) end end |