vets-api
vets-api copied to clipboard
DASH remove redundant body argument from BGSClient
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 }