Sha256: 2a66366a8b4e415133596e5726f3ae755bd42210b550f72cbc16160b090afaac

Contents?: true

Size: 398 Bytes

Versions: 6

Compression:

Stored size: 398 Bytes

Contents

module GreenButtonData
  module Parser
    class ServiceLocation
      include SAXMachine

      element :main_address, class: MainAddress, as: :main_address

      # ESPI Namespacing
      element :'espi:mainAddress', class: MainAddress, as: :main_address

      # Special case for PG&E generic namespacing
      element :'ns0:mainAddress', class: MainAddress, as: :main_address
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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