lib/money_s3/parsers/stredisko.rb in money_s3-0.6.0 vs lib/money_s3/parsers/stredisko.rb in money_s3-0.7.0
- old
+ new
@@ -15,12 +15,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[:nazev] = nazev if has? 'Nazev'
hash[:pozn] = pozn if has? 'Pozn'
\ No newline at end of file