Sha256: f1e7fbb2eb4766928089567e6fd522ec9f500591611e975692631d8330a44893

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

module MoneyS3
  module Parsers
    class SeznamPoptVyd
      include ParserCore::BaseParser

      def popt_vyd
        array_of_at(PoptVyd, ['PoptVyd'])
      end

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

        hash[:popt_vyd] = popt_vyd.map(&:to_h_with_attrs) if has? 'PoptVyd'

        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_popt_vyd.rb
money_s3-0.11.0 lib/money_s3/parsers/seznam_popt_vyd.rb