Sha256: 3997669cedd14e96903dcd0b6214d757f8ade037c4fa32a5f0ccba3914164dc9

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

require 'money_s3/parsers/base_parser'

module MoneyS3
  module Parsers
    class NepPlatidloType
      include BaseParser

      def kod
        at 'Kod'
      end

      def popis
        at 'Popis'
      end

      def var_symb
        at 'VarSymb'
      end

      def to_h
        hash = WithAttributes.new({})
        hash.attributes = attributes

        hash[:kod] = kod if has? 'Kod'
        hash[:popis] = popis if has? 'Popis'
        hash[:var_symb] = var_symb if has? 'VarSymb'

        hash
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.6.0 lib/money_s3/parsers/nep_platidlo_type.rb