lib/money_s3/parsers/predkontace.rb in money_s3-0.6.0 vs lib/money_s3/parsers/predkontace.rb in money_s3-0.7.0
- old
+ new
@@ -51,12 +51,11 @@
def pozn
at 'Pozn'
end
- def to_h
- hash = WithAttributes.new({})
- hash.attributes = attributes
+ def to_h_with_attrs
+ hash = HashWithAttributes.new({}, attributes)
hash[:zkrat] = zkrat if has? 'Zkrat'
hash[:typ] = typ if has? 'Typ'
hash[:popis] = popis if has? 'Popis'
hash[:uc_md] = uc_md if has? 'UcMD'
\ No newline at end of file