Sha256: e037f49d1983be23cd18ba68ad1a0f53903a3d20d67efb6c391d5894db9c07a0
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class TypPriplatkuType include BaseParser def zkratka at 'Zkratka' end def popis at 'Popis' end def poznamka at 'Poznamka' end def druh at 'Druh' end def sazba at 'Sazba' end def typ at 'Typ' end def auto_load at 'AutoLoad' end def pr_nah_off at 'PrNahOff' end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:zkratka] = zkratka if has? 'Zkratka' hash[:popis] = popis if has? 'Popis' hash[:poznamka] = poznamka if has? 'Poznamka' hash[:druh] = druh if has? 'Druh' hash[:sazba] = sazba if has? 'Sazba' hash[:typ] = typ if has? 'Typ' hash[:auto_load] = auto_load if has? 'AutoLoad' hash[:pr_nah_off] = pr_nah_off if has? 'PrNahOff' 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/typ_priplatku_type.rb |