Sha256: 5e00a2a0ccb9f876d3a468b00c005f4343460013231ca2c5e3d26c62ab8c7419

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

module MoneyS3
  module Parsers
    class SeznamFaktVyd
      include ParserCore::BaseParser

      def fakt_vyd
        array_of_at(FaktVyd, ['FaktVyd'])
      end

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

        hash[:fakt_vyd] = fakt_vyd.map(&:to_h_with_attrs) if has? 'FaktVyd'

        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_fakt_vyd.rb
money_s3-0.11.0 lib/money_s3/parsers/seznam_fakt_vyd.rb