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