lib/money_s3/parsers/konfigurace.rb in money_s3-0.12.0 vs lib/money_s3/parsers/konfigurace.rb in money_s3-1.0.0
- old
+ new
@@ -2,11 +2,12 @@
module Parsers
class Konfigurace
include ParserCore::BaseParser
include Groups::Konfigurace
- def to_h_with_attrs
- hash = ParserCore::HashWithAttributes.new({}, attributes)
+ def to_h
+ hash = {}
+ hash[:attributes] = attributes
mega.inject(hash) { |memo, r| memo.merge r }
end
end
end
\ No newline at end of file