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