Sha256: c80bcfa8f781e0f38a705ea52d18bb7fcaee31949af2de742795b72efcf144ff
Contents?: true
Size: 349 Bytes
Versions: 7
Compression:
Stored size: 349 Bytes
Contents
module MoneyS3 module Parsers class SeznamPrijemka include ParserCore::BaseParser def prijemka array_of_at(Prijemka, ['Prijemka']) end def to_h hash = {} hash[:attributes] = attributes hash[:prijemka] = prijemka.map(&:to_h) if has? 'Prijemka' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems