Sha256: 3844ff5b4327b3662ffb0bff4338c817b0034e347e34383c876acbb03e24592d
Contents?: true
Size: 359 Bytes
Versions: 7
Compression:
Stored size: 359 Bytes
Contents
module MoneyS3 module Parsers class SeznamInvDokl include ParserCore::BaseParser def inv_doklad array_of_at(InvDoklType, ['InvDoklad']) end def to_h hash = {} hash[:attributes] = attributes hash[:inv_doklad] = inv_doklad.map(&:to_h) if has? 'InvDoklad' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems