spox / soap4r-spox

Modified soap4r library to run on Ruby 1.9
Other
56 stars 100 forks source link

Can't access attributes of Mapping::Object #6

Open isabanin opened 11 years ago

isabanin commented 11 years ago

Hey!

Given the following Mapping::Object:

#<SOAP::Mapping::Object:0x5e19024
  {urn:ws.paymentech.net/PaymentechGateway}return=
    #<SOAP::Mapping::Object:0x5e18f5c {urn:ws.paymentech.net/PaymentechGateway}bin=\"XXXX\"
      {urn:ws.paymentech.net/PaymentechGateway}procStatus=\"0\">>

When trying to call "return" method on it I'm getting:

NoMethodError: undefined method `return' for SOAP::Mapping::Object:0x00000009229f08

Am I doing it wrong?

Thanks.