Sha256: 003a4b9d5c8af015bbbc3b167386fbd12bd56060410907ccfc19f5795e2c8c79
Contents?: true
Size: 355 Bytes
Versions: 7
Compression:
Stored size: 355 Bytes
Contents
module MoneyS3 module Parsers class SeznamUcOsnov include ParserCore::BaseParser def uc_osnova array_of_at(UcOsnovaType, ['UcOsnova']) end def to_h hash = {} hash[:attributes] = attributes hash[:uc_osnova] = uc_osnova.map(&:to_h) if has? 'UcOsnova' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems