Sha256: 11f40c9576df40b65ecaa89f6feec9ec11934353f7f893feff1579d4929b94bd
Contents?: true
Size: 428 Bytes
Versions: 4
Compression:
Stored size: 428 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/pok_dokl' module MoneyS3 module Parsers class SeznamPokDokl include BaseParser def pok_dokl array_of_at(PokDokl, ['PokDokl']) end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:pok_dokl] = pok_dokl.map(&:to_h_with_attrs) if has? 'PokDokl' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems