This allow to do Ebayr::Request.new(:AddOrder, input: [{ Order: { CreatingUserRole: 'Buyer', 'Total' => { value: 100, attr: { currencyID: 'EUR' } } } }]).send.
It will produce a body like this <Order><CreatingUserRole>Buyer</CreatingUserRole><Total currencyID=\"EUR\">100</Total></Order> as specified in the doc.
This PR is related to issue #23 .
This allow to do
Ebayr::Request.new(:AddOrder, input: [{ Order: { CreatingUserRole: 'Buyer', 'Total' => { value: 100, attr: { currencyID: 'EUR' } } } }]).send
.It will produce a body like this
<Order><CreatingUserRole>Buyer</CreatingUserRole><Total currencyID=\"EUR\">100</Total></Order>
as specified in the doc.