Sha256: dc25869f14e29aa0b548bc143f1df0be47f58ae92fa76a2cc62bd8dc2d978cd8
Contents?: true
Size: 484 Bytes
Versions: 5
Compression:
Stored size: 484 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/nab_vyd' module MoneyS3 module Builders class SeznamNabVyd include BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end if data.key? :nab_vyd data[:nab_vyd].each { |i| root << NabVyd.new('NabVyd', i).builder } end root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems