class ViewModel::SapSchemaNi161::Sap
Public Instance Methods
assessor_name()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 4 def assessor_name [ xpath(%w[Home-Inspector Name Prefix]), xpath(%w[Home-Inspector Name First-Name]), xpath(%w[Home-Inspector Name Surname]), xpath(%w[Home-Inspector Name Suffix]), ].reject { |e| e.to_s.empty? }.join(" ") end
construction_year()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 17 def construction_year xpath(%w[Construction-Year]) end
cylinder_insul_thickness()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 21 def cylinder_insul_thickness xpath(%w[Hot-Water-Store-Insulation-Thickness]) end
cylinder_insulation_type()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 25 def cylinder_insulation_type xpath(%w[Hot-Water-Store-Insulation-Type]) end
cylinder_size()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 29 def cylinder_size xpath(%w[Hot-Water-Store-Size]) end
has_cylinder_thermostat()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 33 def has_cylinder_thermostat xpath(%w[Has-Cylinder-Thermostat]) end
mech_vent_sys_index_number()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 37 def mech_vent_sys_index_number xpath(%w[Mechanical-Vent-System-Index-Number]) end
mechanical_vent_data_source()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 41 def mechanical_vent_data_source xpath(%w[Mechanical-Ventilation-Data-Source]) end
property_age_band()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 13 def property_age_band construction_year end
thermal_store()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 45 def thermal_store xpath(%w[Thermal-Store]) end
ventilation_type()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 49 def ventilation_type xpath(%w[Ventilation-Type]) end
water_heating_fuel()
click to toggle source
# File lib/view_model/sap_schema_ni_161/sap.rb, line 53 def water_heating_fuel xpath(%w[Water-Fuel-Type]) end