Sha256: 45c8ddeaa95c1289fa2de5ea7b69fc0f7c3e0687dd0b14a9104eacb514aa139d

Contents?: true

Size: 1.46 KB

Versions: 32

Compression:

Stored size: 1.46 KB

Contents

module Presenter
  module RdSap
    class ExportConfiguration < Presenter::ToWarehouse::BaseConfiguration
      excludes %w[
        ExternalDefinitions-Revision-Number
        User-Interface-Name
        User-Interface-Version
        PCDF-Revision-Number
        Related-Party-Disclosure
        Insurance-Details
        Previous-EPC-Check
        Green-Deal-Package
        Energy-Assessor
        Green-Deal-Category
        RRN
      ]
      includes %w[
        Certificate-Number
      ]
      bases %w[
        Report-Header
        Energy-Assessment
        Property-Summary
        Energy-Use
        SAP-Data
        SAP-Property-Details
        Identification-Number
        Property
        Address
      ]
      preferred_keys({
        "Certificate-Number" => "scheme_assessor_id",
      })
      list_nodes %w[
        SAP-Floor-Dimensions
        LZC-Energy-Source
        ImprovementTexts
        SAP-Building-Parts
        SAP-Windows
        SAP-Deselected-Improvements
        Main-Heating-Details
        Storage-Heaters
        SAP-Special-Features
        Air-Change-Rates
        PV-Arrays
      ]
      rootless_list_nodes({
        "Wall" => "walls",
        "Roof" => "roofs",
        "Floor" => { parents: %w[Property-Summary], key: "floors" },
        "Main-Heating" => { parents: %w[Property-Summary], key: "main-heating" },
        "Main-Heating-Controls" => "main_heating_controls",
        "Addendum-Number" => "addendum_numbers",
      })
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
epb_view_models-2.0.5 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-2.0.4 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-2.0.3 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-2.0.2 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-2.0.1 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-2.0.0 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.2.3 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.2.2 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.2.1 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.2.0 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.1.6 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.1.5 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.1.4 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.1.3 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.1.2 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.1.1 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.1.0 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.0.29 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.0.28 lib/presenter/rd_sap/export_configuration.rb
epb_view_models-1.0.27 lib/presenter/rd_sap/export_configuration.rb