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

- old
+ new

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