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