Sha256: cd89aac13f192d1612afa9535a4708bc806e52f5fa0bc9f228e7be7320bc1db1
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
module MoneyS3 module Parsers class TypZasilkyType include ParserCore::BaseParser def zkrat at 'Zkrat' end def popis at 'Popis' end def poznamka at 'Poznamka' end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/parsers/typ_zasilky_type.rb |
money_s3-0.11.0 | lib/money_s3/parsers/typ_zasilky_type.rb |