Sha256: 964cca17c07d7aad37fe8dc8286acf7dd6bff4b6530455e627270a719e300ea7
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class TypZasilkyType include BaseParser def zkrat at 'Zkrat' end def popis at 'Popis' end def poznamka at 'Poznamka' end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:zkrat] = zkrat if has? 'Zkrat' hash[:popis] = popis if has? 'Popis' 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/typ_zasilky_type.rb |