Sha256: f2a638ad563ca18b12d37f2e76c586df06044040e17c5e01183e7eeeb5c38630
Contents?: true
Size: 491 Bytes
Versions: 1
Compression:
Stored size: 491 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/doklad' module MoneyS3 module Builders class VazbaType include BaseBuilder attr_accessor :typ, :pod_typ, :doklad def builder root = Ox::Element.new(element_name) root << (Ox::Element.new('Typ') << typ) if typ root << (Ox::Element.new('PodTyp') << pod_typ) if pod_typ root << Doklad.new(doklad, 'Doklad').builder if doklad root end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.4.0 | lib/money_s3/builders/vazba_type.rb |