Sha256: badf8ffeddd2df09c4f5ba6266b36f9b854e6ad2e1ecd585cb8f6a200b47768f

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

require 'money_s3/parsers/base_parser'

module MoneyS3
  module Parsers
    class PracPomer
      include BaseParser

      def zkrat
        at :Zkrat
      end

      def popis
        at :Popis
      end

      def eldp_kod
        at :ELDPKod
      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[:eldp_kod] = eldp_kod if raw.key? :ELDPKod
        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/prac_pomer.rb