Sha256: eef7e62a9594eb8c7bc47a1a8ea3ad1349543cd7b5bf5bf34ed3657e47a61ae4
Contents?: true
Size: 525 Bytes
Versions: 1
Compression:
Stored size: 525 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/parametr_type' module MoneyS3 module Builders class ParametrKartaType include BaseBuilder attr_accessor :poradi, :value, :parametr def builder root = Ox::Element.new(element_name) root << (Ox::Element.new('Poradi') << poradi) if poradi root << (Ox::Element.new('Value') << value) if value root << ParametrType.new(parametr, 'Parametr').builder if parametr root end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.4.0 | lib/money_s3/builders/parametr_karta_type.rb |