lib/money_s3/parsers/data6.rb in money_s3-0.12.0 vs lib/money_s3/parsers/data6.rb in money_s3-1.0.0
- old
+ new
@@ -5,13 +5,14 @@
def zauctovani_dph_de
submodel_at(ZauctovaniDPHDetype, 'ZauctovaniDPH_DE')
end
- def to_h_with_attrs
- hash = ParserCore::HashWithAttributes.new({}, attributes)
+ def to_h
+ hash = {}
+ hash[:attributes] = attributes
- hash[:zauctovani_dph_de] = zauctovani_dph_de.to_h_with_attrs if has? 'ZauctovaniDPH_DE'
+ hash[:zauctovani_dph_de] = zauctovani_dph_de.to_h if has? 'ZauctovaniDPH_DE'
hash
end
end
end
\ No newline at end of file