Sha256: c7beae46fb7ae1752d5528c104d08b437054ffd0837778919d1045754dc3d4e4
Contents?: true
Size: 692 Bytes
Versions: 1
Compression:
Stored size: 692 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/eet_type' module MoneyS3 module Builders class DoklRefType include BaseBuilder attr_accessor :id_dokladu, :cislo_dokladu, :druh_dokladu, :rok, :eet def builder root = Ox::Element.new(element_name) root << (Ox::Element.new('IDDokladu') << id_dokladu) if id_dokladu root << (Ox::Element.new('CisloDokladu') << cislo_dokladu) if cislo_dokladu root << (Ox::Element.new('DruhDokladu') << druh_dokladu) if druh_dokladu root << (Ox::Element.new('Rok') << rok) if rok root << EETType.new(eet, 'EET').builder if eet 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/dokl_ref_type.rb |