Sha256: 527622b3ab2326bb695b4772b4d2b48744806ed7824d7f4c9d9cb693baad01a6
Contents?: true
Size: 432 Bytes
Versions: 2
Compression:
Stored size: 432 Bytes
Contents
module MoneyS3 module Parsers class VariantaKusovnikType include ParserCore::BaseParser def nazev at 'Nazev' end def poznamka at 'Poznamka' end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:nazev] = nazev if has? 'Nazev' 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/varianta_kusovnik_type.rb |
money_s3-0.11.0 | lib/money_s3/parsers/varianta_kusovnik_type.rb |