Sha256: 91a2665c9949a347b68e6ed543111f5d409f23b1b51886e63661b6c62f86b4b4

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

require 'money_s3/parsers/base_parser'

module MoneyS3
  module Parsers
    class VyrobniCislo
      include BaseParser

      def vyrobni_cis
        at :VyrobniCis
      end

      def dat_vyr
        at :DatVyr
      end

      def car_kod
        at :CarKod
      end

      def to_h
        { vyrobni_cis: vyrobni_cis,
          dat_vyr: dat_vyr,
          car_kod: car_kod
        }.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/vyrobni_cislo.rb