Sha256: a7686fc9f1bc2beeb1963a2b3427a54fe8bb06d82ec8daf46be45e0e3671553a

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

require 'money_s3/parsers/base_parser'
require 'money_s3/parsers/nab_vyd'

module MoneyS3
  module Parsers
    class SeznamNabVyd
      include BaseParser

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

      def to_h
        { nab_vyd: nab_vyd.map(&:to_h)
        }.delete_if { |k, v| v.nil? || v.empty? }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.4.0 lib/money_s3/parsers/seznam_nab_vyd.rb