lib/ce-greenbutton/elements/gb_interval.rb in ce-greenbutton-0.1.2 vs lib/ce-greenbutton/elements/gb_interval.rb in ce-greenbutton-0.1.3

- old
+ new

@@ -11,11 +11,17 @@ # # Author: ahmed.seddiq # Version: 1.0 class GbInterval include SAXMachine + + # Elements with "espi" namespace element :'espi:duration', class: Integer, as: :duration element :'espi:start', class: Integer, as: :start + + # Elements without namespace + element :duration, class: Integer, as: :duration + element :start, class: Integer, as: :start end end end