Sha256: ef246d24075a687a2337272fc702276d6929c10b5d135ab79fad0eea17dca4f3
Contents?: true
Size: 496 Bytes
Versions: 2
Compression:
Stored size: 496 Bytes
Contents
module MoneyS3 module Parsers class StrediskoType include ParserCore::BaseParser def zkrat at 'Zkrat' end def nazev at 'Nazev' end def pozn at 'Pozn' end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:zkrat] = zkrat if has? 'Zkrat' hash[:nazev] = nazev if has? 'Nazev' hash[:pozn] = pozn if has? 'Pozn' 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/stredisko_type.rb |
money_s3-0.11.0 | lib/money_s3/parsers/stredisko_type.rb |