lib/money_s3/valuty.rb in money_s3-0.1.8 vs lib/money_s3/valuty.rb in money_s3-0.2.0

- old
+ new

@@ -9,17 +9,13 @@ def celkem at :Celkem end def mena - element_xml = at :Mena - - MenaType.new(element_xml) if element_xml + submodel_at(MenaType, :Mena) end def souhrn_dph - element_xml = at :SouhrnDPH - - SouhrnDPHType.new(element_xml) if element_xml + submodel_at(SouhrnDPHType, :SouhrnDPH) end end end