Sha256: 928331f075ed0ae1a72680d911fe0dd9d94d8f436c538987a27598baa957ea3f
Contents?: true
Size: 675 Bytes
Versions: 2
Compression:
Stored size: 675 Bytes
Contents
module MoneyS3 module Builders class DalsiSazba include ParserCore::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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/builders/dalsi_sazba.rb |
money_s3-0.11.0 | lib/money_s3/builders/dalsi_sazba.rb |