Sha256: 1f1b741cf111acd993bc8e406b375e5b6d55258fc99faa87dc22a192fa43e234

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 Bytes

Contents

module MoneyS3
  module Parsers
    class SeznamDLVyd
      include ParserCore::BaseParser

      def dl_vyd
        array_of_at(DLVyd, ['DLVyd'])
      end

      def to_h_with_attrs
        hash = ParserCore::HashWithAttributes.new({}, attributes)

        hash[:dl_vyd] = dl_vyd.map(&:to_h_with_attrs) if has? 'DLVyd'

        hash
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
money_s3-0.12.0 lib/money_s3/parsers/seznam_dl_vyd.rb
money_s3-0.11.0 lib/money_s3/parsers/seznam_dl_vyd.rb