lib/money_s3/parsers/data8.rb in money_s3-0.12.0 vs lib/money_s3/parsers/data8.rb in money_s3-1.0.0

- old
+ new

@@ -5,13 +5,14 @@ def mzda submodel_at(MzdaType, 'Mzda') end - def to_h_with_attrs - hash = ParserCore::HashWithAttributes.new({}, attributes) + def to_h + hash = {} + hash[:attributes] = attributes - hash[:mzda] = mzda.to_h_with_attrs if has? 'Mzda' + hash[:mzda] = mzda.to_h if has? 'Mzda' hash end end end \ No newline at end of file