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