Sha256: 0e5fa1d66fb062210c28b983416acf9020567aad15fac0acb3be231183ab21fe
Contents?: true
Size: 1.61 KB
Versions: 1
Compression:
Stored size: 1.61 KB
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class NormPolozIDType include BaseParser def poradi at 'Poradi' end def popis at 'Popis' end def zkratka at 'Zkratka' end def cena at 'Cena' end def cena_typ at 'CenaTyp' end def sazba_dph at 'SazbaDPH' end def text_mj at 'TextMJ' end def pocet_mj at 'PocetMJ' end def pr_kont at 'PrKont' end def cleneni at 'Cleneni' end def stred at 'Stred' end def zakazka at 'Zakazka' end def cinnost at 'Cinnost' end def poznamka at 'Poznamka' end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:poradi] = poradi if has? 'Poradi' hash[:popis] = popis if has? 'Popis' hash[:zkratka] = zkratka if has? 'Zkratka' hash[:cena] = cena if has? 'Cena' hash[:cena_typ] = cena_typ if has? 'CenaTyp' hash[:sazba_dph] = sazba_dph if has? 'SazbaDPH' hash[:text_mj] = text_mj if has? 'TextMJ' hash[:pocet_mj] = pocet_mj if has? 'PocetMJ' hash[:pr_kont] = pr_kont if has? 'PrKont' hash[:cleneni] = cleneni if has? 'Cleneni' hash[:stred] = stred if has? 'Stred' hash[:zakazka] = zakazka if has? 'Zakazka' hash[:cinnost] = cinnost if has? 'Cinnost' hash[:poznamka] = poznamka if has? 'Poznamka' 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/norm_poloz_id_type.rb |