Sha256: 4ea1909b0b6392d30b7eb59f13438cf8e1580b88534a2e929b640ab91b292fb6
Contents?: true
Size: 583 Bytes
Versions: 2
Compression:
Stored size: 583 Bytes
Contents
module MoneyS3 module Builders class Ucet 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('Zkrat', data[:zkrat]) if data.key? :zkrat root << build_element('Ucet', data[:ucet]) if data.key? :ucet root << build_element('BKod', data[:b_kod]) if data.key? :b_kod root << build_element('BNazev', data[:b_nazev]) if data.key? :b_nazev 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/ucet.rb |
money_s3-0.11.0 | lib/money_s3/builders/ucet.rb |