require 'money_s3/parsers/base_parser' require 'money_s3/parsers/dl_prij' module MoneyS3 module Parsers class SeznamDLPrij include BaseParser def dl_prij array_of_at(DLPrij, ['DLPrij']) end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:dl_prij] = dl_prij.map(&:to_h) if has? 'DLPrij' hash end end end end