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
--
Posted via http://www.ruby-forum.com/.
11142
(-- --)
2
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] Class: SOAP::Mapping::Object (Ruby 1.8.7)
-- Matma Rex
···
2011/8/16 Nico Claes <nico.claes@aksentis.be>:
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
--
Posted via http://www.ruby-forum.com/\.