Sha256: c6705b0109fdef2b5b408a74ba17636bcdd4b1ad5d6f8775238cafa8737ae352
Contents?: true
Size: 622 Bytes
Versions: 1
Compression:
Stored size: 622 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 = WithAttributes.new({}) hash.attributes = attributes hash[:zkrat] = zkrat if has? 'Zkrat' hash[:popis] = popis if has? 'Popis' hash[:eldp_kod] = eldp_kod if has? 'ELDPKod' hash[:pozn] = pozn if has? 'Pozn' 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/prac_pomer.rb |