Sha256: 96cad25863073a491ecb8469122fbd5e3b29cf542e4cd98885c8dc63109abc74
Contents?: true
Size: 374 Bytes
Versions: 7
Compression:
Stored size: 374 Bytes
Contents
module MoneyS3 module Parsers class SeznamZamestnancu include ParserCore::BaseParser def zamestnanec array_of_at(ZamestnanecType, ['Zamestnanec']) end def to_h hash = {} hash[:attributes] = attributes hash[:zamestnanec] = zamestnanec.map(&:to_h) if has? 'Zamestnanec' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems