Sha256: 8e9f2c0ec9143e4990d3e01d18bbb94e20757258990b630b9b2a08f741aa3899
Contents?: true
Size: 383 Bytes
Versions: 7
Compression:
Stored size: 383 Bytes
Contents
module Moysklad::Entities::XmlFix extend ::ActiveSupport::Concern def to_xml builder = nil,default_namespace = nil,tag_from_parent = nil unless builder builder = Nokogiri::XML::Builder.new(encoding: 'utf-8') write_out_to_xml = true end result = super builder, default_namespace, tag_from_parent write_out_to_xml ? result.to_xml : result end end
Version data entries
7 entries across 7 versions & 1 rubygems