Sha256: 712603e4f0641c16f96de30a0820e64d28edc1554ed2754e9e942ef41bdc4090

Contents?: true

Size: 630 Bytes

Versions: 6

Compression:

Stored size: 630 Bytes

Contents

module GreenButtonData
  module Parser
    class CostAdditionalDetailLastPeriod < SummaryMeasurement
      element :note
      element :itemKind, class: Integer, as: :item_kind
      element :amount, class: Integer, as: :amount

      # ESPI Namespacing
      element :'espi:note', as: :note
      element :'espi:itemKind', class: Integer, as: :item_kind

      # Special case for PG&E generic namespacing
      element :'ns0:note', as: :note
      element :'ns0:itemKind', class: Integer, as: :item_kind

      # Special case for SCE generic namespacing
      element :'ns0:amount', class: Integer, as: :amount
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
green-button-data-0.7.5 lib/green-button-data/parser/cost_additional_detail_last_period.rb
green-button-data-0.7.4 lib/green-button-data/parser/cost_additional_detail_last_period.rb
green-button-data-0.7.3 lib/green-button-data/parser/cost_additional_detail_last_period.rb
green-button-data-0.7.2 lib/green-button-data/parser/cost_additional_detail_last_period.rb
green-button-data-0.7.1 lib/green-button-data/parser/cost_additional_detail_last_period.rb
green-button-data-0.7.0 lib/green-button-data/parser/cost_additional_detail_last_period.rb