Sha256: 169100b0b0403c9b4878c5f5402962d8325fd7cf1966281e6c1f3783acb60697

Contents?: true

Size: 433 Bytes

Versions: 1

Compression:

Stored size: 433 Bytes

Contents

require 'money_s3/parsers/base_parser'

module MoneyS3
  module Parsers
    class TypZasilkyType
      include BaseParser

      def zkrat
        at :Zkrat
      end

      def popis
        at :Popis
      end

      def poznamka
        at :Poznamka
      end

      def to_h
        { zkrat: zkrat,
          popis: popis,
          poznamka: poznamka
        }.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/typ_zasilky_type.rb