Sha256: 25a2174b1883706e728d87e34035fabf8624d272c679f23b8772ca19cf376a7c
Contents?: true
Size: 705 Bytes
Versions: 5
Compression:
Stored size: 705 Bytes
Contents
require 'money_s3/builders/base_builder' module MoneyS3 module Builders class DalsiSazba 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('Popis', data[:popis]) if data.key? :popis root << build_element('HladinaDPH', data[:hladina_dph]) if data.key? :hladina_dph root << build_element('Sazba', data[:sazba]) if data.key? :sazba root << build_element('Zaklad', data[:zaklad]) if data.key? :zaklad root << build_element('DPH', data[:dph]) if data.key? :dph root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems