So my code goes like this:
xml = Net::HTTP.get(URI(url))
xml.add_field 'uid', 'a7610b41dbcb727ec4e05b487d7fc4cbaab790bb'

but it says add_field is an invalid method, however when I look at the documentation its fine. Does anyone know what I am doing wrong? Thanks