Sha256: 55b8fef179a2cff174dfa66e0ebf65f9bbfa729019de1f248af6f302ee03d029

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require 'money_s3/parsers/base_parser'
require 'money_s3/parsers/clen_dph'

module MoneyS3
  module Parsers
    class SeznamClenDPH
      include BaseParser

      def clen_dph
        array_of_at(ClenDPH, [:ClenDPH])
      end

      def to_h
        { clen_dph: clen_dph.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_clen_dph.rb