Sha256: 58a2a6b7a04d487679c4c911c3a0b39e2f076a35b6ebe59437f1b8481a1a2936
Contents?: true
Size: 574 Bytes
Versions: 5
Compression:
Stored size: 574 Bytes
Contents
require 'money_s3/builders/base_builder' module MoneyS3 module Builders class VyrobniCislo include BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end root << build_element('VyrobniCis', data[:vyrobni_cis]) if data.key? :vyrobni_cis root << build_element('DatVyr', data[:dat_vyr]) if data.key? :dat_vyr root << build_element('CarKod', data[:car_kod]) if data.key? :car_kod root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems