Sha256: 78960b2e2ea2dbceaddf8e1b4079f0ba5ce050997333bd64349d7ae5403dcd19

Contents?: true

Size: 873 Bytes

Versions: 1

Compression:

Stored size: 873 Bytes

Contents

require 'money_s3/parsers/base_parser'

module MoneyS3
  module Parsers
    class PredkontaceDEType
      include BaseParser

      def zkrat
        at :Zkrat
      end

      def popis
        at :Popis
      end

      def typ
        at :Typ
      end

      def poh_zak
        at :PohZak
      end

      def zauct_dph
        at :ZauctDPH
      end

      def cleneni
        at :Cleneni
      end

      def pozn
        at :Pozn
      end

      def to_h
        hash = {}

        hash[:zkrat] = zkrat if raw.key? :Zkrat
        hash[:popis] = popis if raw.key? :Popis
        hash[:typ] = typ if raw.key? :Typ
        hash[:poh_zak] = poh_zak if raw.key? :PohZak
        hash[:zauct_dph] = zauct_dph if raw.key? :ZauctDPH
        hash[:cleneni] = cleneni if raw.key? :Cleneni
        hash[:pozn] = pozn if raw.key? :Pozn

        hash
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.5.0 lib/money_s3/parsers/predkontace_de_type.rb