Sha256: 3659874e60fbb197c6a82ba504d162fecc0c03fc6e631c45cb5359d009b30c34

Contents?: true

Size: 338 Bytes

Versions: 7

Compression:

Stored size: 338 Bytes

Contents

module MoneyS3
  module Parsers
    class SeznamNabVyd
      include ParserCore::BaseParser

      def nab_vyd
        array_of_at(NabVyd, ['NabVyd'])
      end

      def to_h
        hash = {}
        hash[:attributes] = attributes

        hash[:nab_vyd] = nab_vyd.map(&:to_h) if has? 'NabVyd'

        hash
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
money_s3-2.4.1 lib/money_s3/parsers/seznam_nab_vyd.rb
money_s3-2.4.0 lib/money_s3/parsers/seznam_nab_vyd.rb
money_s3-2.3.0 lib/money_s3/parsers/seznam_nab_vyd.rb
money_s3-2.2.0 lib/money_s3/parsers/seznam_nab_vyd.rb
money_s3-2.1.0 lib/money_s3/parsers/seznam_nab_vyd.rb
money_s3-2.0.0 lib/money_s3/parsers/seznam_nab_vyd.rb
money_s3-1.0.0 lib/money_s3/parsers/seznam_nab_vyd.rb