Sha256: b504d2856d63ac878de1f81f0fa7ae1fda2f4cd1379b51b38adcb821d68c9cbb
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
module MoneyS3 module Parsers class ClenDPHType include ParserCore::BaseParser def zkrat at 'Zkrat' end def datum_od at 'DatumOd' end def popis at 'Popis' end def typ at 'Typ' end def kolonka at 'Kolonka' end def kod_plneni at 'KodPlneni' end def bez_odpoctu at 'BezOdpoctu' end def no_koef at 'NoKoef' end def majetek at 'Majetek' end def pozn at 'Pozn' end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:zkrat] = zkrat if has? 'Zkrat' hash[:datum_od] = datum_od if has? 'DatumOd' hash[:popis] = popis if has? 'Popis' hash[:typ] = typ if has? 'Typ' hash[:kolonka] = kolonka if has? 'Kolonka' hash[:kod_plneni] = kod_plneni if has? 'KodPlneni' hash[:bez_odpoctu] = bez_odpoctu if has? 'BezOdpoctu' hash[:no_koef] = no_koef if has? 'NoKoef' hash[:majetek] = majetek if has? 'Majetek' hash[:pozn] = pozn if has? 'Pozn' hash end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/parsers/clen_dph_type.rb |
money_s3-0.11.0 | lib/money_s3/parsers/clen_dph_type.rb |