vets-api icon indicating copy to clipboard operation
vets-api copied to clipboard

DASH remove redundant body argument from BGSClient

Open nihil2501 opened this issue 9 months ago • 1 comments

Prefer composing XML documents with an XML builder. Other approaches like templating into strings or immediately parsing and injecting with open-ended xpath are inconvenient or error-prone. Particularly for collections. But they can still be done like

result = request.perform { |xml| xml << body.to_s }

nihil2501 avatar May 23 '24 21:05 nihil2501