Sha256: 66af605c124017a4e3d3b2f63dc4e241f830c9a940e725b63336e36887468a29
Contents?: true
Size: 697 Bytes
Versions: 1
Compression:
Stored size: 697 Bytes
Contents
module MoneyS3 module Parsers class VariantaKusovnikType include ParserCore::BaseParser 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 to_h hash = {} hash[:attributes] = attributes 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 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-1.0.0 | lib/money_s3/parsers/varianta_kusovnik_type.rb |