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