Sha256: 0e9fc6734c2acc4c6ca23e022331b2a410e9198e92e188433e6d08a222b4872d
Contents?: true
Size: 640 Bytes
Versions: 5
Compression:
Stored size: 640 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/parametr_type' module MoneyS3 module Builders class ParametrKartaType 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('Poradi', data[:poradi]) if data.key? :poradi root << build_element('Value', data[:value]) if data.key? :value if data.key? :parametr root << ParametrType.new('Parametr', data[:parametr]).builder end root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems