Sha256: 20c7f4a131c577d9d4364796983c4e469e6751811ed44c414b2b8e39e6af7226
Contents?: true
Size: 447 Bytes
Versions: 4
Compression:
Stored size: 447 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/inv_dokl_type' module MoneyS3 module Parsers class SeznamInvDokl include BaseParser def inv_doklad array_of_at(InvDoklType, ['InvDoklad']) end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:inv_doklad] = inv_doklad.map(&:to_h_with_attrs) if has? 'InvDoklad' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems