Sha256: 3a128fe59e6b732c6d3222c19db48c4be27c520a1588683181a6b74a28c6d898
Contents?: true
Size: 498 Bytes
Versions: 5
Compression:
Stored size: 498 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/msg_poloz_type' module MoneyS3 module Builders class MsgFaktPolozType 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? :skl_polozka root << MsgPolozType.new('SklPolozka', data[:skl_polozka]).builder end root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems