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