Sha256: 4c32cfbe1077d02aeb85f4a6cdf09968679497e07b7958eb90f6c98d26f1ca6c
Contents?: true
Size: 691 Bytes
Versions: 1
Compression:
Stored size: 691 Bytes
Contents
module MoneyS3 module Builders class BankSpojeniType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.key? :attributes data[:attributes].each { |k, v| root[k] = v } end root << build_element('Ucet', data[:ucet], data[:ucet_attributes]) if data.key? :ucet root << build_element('KodBanky', data[:kod_banky], data[:kod_banky_attributes]) if data.key? :kod_banky root << build_element('Mena', data[:mena], data[:mena_attributes]) if data.key? :mena root << build_element('Ucel', data[:ucel], data[:ucel_attributes]) if data.key? :ucel root end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-1.0.0 | lib/money_s3/builders/bank_spojeni_type.rb |