Sha256: 3da26bec951443472dbb83be7826e9fc6fa527ca27568e4bb1fb55d6625ace08
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
module MoneyS3 module Parsers class SeznamUcOsnov include ParserCore::BaseParser def uc_osnova array_of_at(UcOsnovaType, ['UcOsnova']) end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:uc_osnova] = uc_osnova.map(&:to_h_with_attrs) if has? 'UcOsnova' hash end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/parsers/seznam_uc_osnov.rb |
money_s3-0.11.0 | lib/money_s3/parsers/seznam_uc_osnov.rb |