Sha256: 7b848714081d0129aef29a856317f80a70c1b00cc82f981103c34febea735adf

Contents?: true

Size: 1.77 KB

Versions: 39

Compression:

Stored size: 1.77 KB

Contents

module ViewModel
  module Cepc50
    class Cepc < ViewModel::Cepc50::CommonSchema
      def ac_inspection_commissioned
        xpath(%w[AC-Inspection-Commissioned])
      end

      def ac_kw_rating
        xpath(%w[AC-kW-Rating])
      end

      def ac_present
        xpath(%w[AC-Present])
      end

      def building_environment
        xpath(%w[Building-Environment])
      end

      def building_level
        xpath(%w[Building-Level])
      end

      def building_emission_rate
        xpath(%w[BER])
      end

      def energy_efficiency_rating
        xpath(%w[Asset-Rating])
      end

      def epc_related_party_disclosure
        xpath(%w[EPC-Related-Party-Disclosure])
      end

      def estimated_ac_kw_rating
        xpath(%w[AC-Estimated-Output])
      end

      def existing_build_rating
        xpath(%w[Existing-Stock-Benchmark])
      end

      def floor_area
        xpath(%w[Technical-Information Floor-Area])
      end

      def main_heating_fuel
        xpath(%w[Main-Heating-Fuel])
      end

      def new_build_rating
        xpath(%w[New-Build-Benchmark])
      end

      def other_fuel_description
        xpath(%w[Other-Fuel-Description])
      end

      def primary_energy_use
        nil
      end

      def property_type
        xpath(%w[Property-Type])
      end

      def related_rrn
        xpath(%w[Related-RRN])
      end

      def special_energy_uses
        xpath(%w[Special-Energy-Uses])
      end

      def standard_emissions
        xpath(%w[SER])
      end

      def target_emissions
        xpath(%w[TER])
      end

      def transaction_type
        xpath(%w[Transaction-Type])
      end

      def typical_emissions
        xpath(%w[TYR])
      end

      def renewable_sources
        xpath(%w[Renewable-Sources])
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

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