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