SOAP result with an element named id

I got this from another message on this forum, but there was no reply to
it. Anybody who has the answer?


Say I have a soap object like…

#<SOAP::Mapping::Object:0x…fdbc0ee36 {}id=“120” {}name=“Welcome”>

How does one get the id value out?

object.id gives the object_id, not the 120 I am needing…


Thanks,
Nico

Wild guess: soapobject[‘id’]? Or maybe soapobject[:id]?

I checked the docs[1]. There are no docs there, actually, but after a
quick look at the code I think I am right.

[1]

– Matma R.

2011/8/16 Nico C. [email protected]: