Sha256: 6ad829482f4c5a9826f82470244d7240cca4400a6cbb457649c26cc6539afd0f
Contents?: true
Size: 783 Bytes
Versions: 1
Compression:
Stored size: 783 Bytes
Contents
require 'money_s3/builders/base_builder' module MoneyS3 module Builders class TypZasilkyType include BaseBuilder def builder root = Ox::Element.new(element_name) if attributes.key? :zkrat element = Ox::Element.new('Zkrat') element << attributes[:zkrat] if attributes[:zkrat] root << element end if attributes.key? :popis element = Ox::Element.new('Popis') element << attributes[:popis] if attributes[:popis] root << element end if attributes.key? :poznamka element = Ox::Element.new('Poznamka') element << attributes[:poznamka] if attributes[:poznamka] 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/typ_zasilky_type.rb |