Sha256: e0ca7079da2279c73ebb4fc9b60ee0b840ff0f550c89c7f1c7297e81dac02ae8
Contents?: true
Size: 656 Bytes
Versions: 1
Compression:
Stored size: 656 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class PrepravceType include BaseParser def zkrat at 'Zkrat' end def nazev at 'Nazev' end def poznamka at 'Poznamka' end def kod_odesil at 'KodOdesil' end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:zkrat] = zkrat if has? 'Zkrat' hash[:nazev] = nazev if has? 'Nazev' hash[:poznamka] = poznamka if has? 'Poznamka' hash[:kod_odesil] = kod_odesil if has? 'KodOdesil' 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/prepravce_type.rb |