Sha256: f995e16b75c1c849862c8bd012ae3d4e125ac719029c0b67c2930d5c62d3cddd
Contents?: true
Size: 576 Bytes
Versions: 5
Compression:
Stored size: 576 Bytes
Contents
require 'money_s3/builders/base_builder' module MoneyS3 module Builders class StavZasobyType 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('Zasoba', data[:zasoba]) if data.key? :zasoba root << build_element('Rezervace', data[:rezervace]) if data.key? :rezervace root << build_element('Objednano', data[:objednano]) if data.key? :objednano root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems