Sha256: ee3bd153ddc014c870c8db9ed4c8f7cb95319aa52672c8ba7d2796e52047f9a6
Contents?: true
Size: 1.16 KB
Versions: 7
Compression:
Stored size: 1.16 KB
Contents
module MoneyS3 module Parsers class PrepravceType include ParserCore::BaseParser def zkrat at 'Zkrat' end def zkrat_attributes attributes_at 'Zkrat' end def nazev at 'Nazev' end def nazev_attributes attributes_at 'Nazev' end def poznamka at 'Poznamka' end def poznamka_attributes attributes_at 'Poznamka' end def kod_odesil at 'KodOdesil' end def kod_odesil_attributes attributes_at 'KodOdesil' end def to_h hash = {} hash[:attributes] = attributes hash[:zkrat] = zkrat if has? 'Zkrat' hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat' hash[:nazev] = nazev if has? 'Nazev' hash[:nazev_attributes] = nazev_attributes if has? 'Nazev' hash[:poznamka] = poznamka if has? 'Poznamka' hash[:poznamka_attributes] = poznamka_attributes if has? 'Poznamka' hash[:kod_odesil] = kod_odesil if has? 'KodOdesil' hash[:kod_odesil_attributes] = kod_odesil_attributes if has? 'KodOdesil' hash end end end end
Version data entries
7 entries across 7 versions & 1 rubygems