Sha256: f5a81a7c8a694a1a2b0d1bab7222f955dbc69a3111f74c3c60d5e94145152f5d
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class VyrobniCislo include BaseParser def vyrobni_cis at 'VyrobniCis' end def dat_vyr at 'DatVyr' end def car_kod at 'CarKod' end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:vyrobni_cis] = vyrobni_cis if has? 'VyrobniCis' hash[:dat_vyr] = dat_vyr if has? 'DatVyr' hash[:car_kod] = car_kod if has? 'CarKod' 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/vyrobni_cislo.rb |