Sha256: c73af5cec4361978dc1fcae4e25b1a0bcf2c33b333bcb6b34d968f3c1b21f418
Contents?: true
Size: 807 Bytes
Versions: 1
Compression:
Stored size: 807 Bytes
Contents
require 'money_s3/builders/base_builder' module MoneyS3 module Builders class StavZasobyType include BaseBuilder def builder root = Ox::Element.new(element_name) if attributes.key? :zasoba element = Ox::Element.new('Zasoba') element << attributes[:zasoba] if attributes[:zasoba] root << element end if attributes.key? :rezervace element = Ox::Element.new('Rezervace') element << attributes[:rezervace] if attributes[:rezervace] root << element end if attributes.key? :objednano element = Ox::Element.new('Objednano') element << attributes[:objednano] if attributes[:objednano] root << element end root end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.5.0 | lib/money_s3/builders/stav_zasoby_type.rb |