Sha256: 31669810218595f3ccc35240d7cb991e2576c3a0b595b0ede98d7d548aa7fa7a
Contents?: true
Size: 660 Bytes
Versions: 5
Compression:
Stored size: 660 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/nep_platidlo_type' module MoneyS3 module Builders class NepPlatbaType 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('MnozstviMJ', data[:mnozstvi_mj]) if data.key? :mnozstvi_mj root << build_element('Castka', data[:castka]) if data.key? :castka if data.key? :platidlo root << NepPlatidloType.new('Platidlo', data[:platidlo]).builder end root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems