Sha256: 522ac7652c138bba425bd81199a058b1391e4da1b850571df92ec0ba679eb4b0
Contents?: true
Size: 560 Bytes
Versions: 4
Compression:
Stored size: 560 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_with_attrs hash = HashWithAttributes.new({}, 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
4 entries across 4 versions & 1 rubygems