Sha256: 87ebf83dfc8a01a0412493ffc40da5188365c67082bc2bbaa1b3921fdaa365f7

Contents?: true

Size: 1.02 KB

Versions: 37

Compression:

Stored size: 1.02 KB

Contents

module ViewModel
  module SapSchemaNi150
    class Sap < ViewModel::SapSchemaNi150::CommonSchema
      def property_age_band
        construction_year
      end

      def construction_year
        xpath(%w[Construction-Year])
      end

      def cylinder_insul_thickness
        xpath(%w[Hot-Water-Store-Insulation-Thickness])
      end

      def cylinder_insulation_type
        xpath(%w[Hot-Water-Store-Insulation-Type])
      end

      def cylinder_size
        xpath(%w[Hot-Water-Store-Size])
      end

      def has_cylinder_thermostat
        xpath(%w[Has-Cylinder-Thermostat])
      end

      def mech_vent_sys_index_number
        xpath(%w[Mechanical-Vent-System-Index-Number])
      end

      def mechanical_vent_data_source
        xpath(%w[Mechanical-Ventilation-Data-Source])
      end

      def thermal_store
        xpath(%w[Thermal-Store])
      end

      def ventilation_type
        xpath(%w[Ventilation-Type])
      end

      def water_heating_fuel
        xpath(%w[Water-Fuel-Type])
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
epb_view_models-1.0.20 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.19 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.18 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.17 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.16 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.15 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.14 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.13 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.12 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.11 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.10 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.9 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.8 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.7 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.6 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.5 lib/view_model/sap_schema_ni_150/sap.rb
epb_view_models-1.0.4 lib/view_model/sap_schema_ni_150/sap.rb