Hi Carl, I can't replicate your code here as it isn't a complete example
(I don't have the response object for instance).
But you could try "p" instead of "puts" or try the code below to avoid
calling "to_s" (Ruby's equivalent of Java's toString()):
puts store.get_certificates(/Safe/).object_
Thanks Rodrigo, I'll give that a try and let you know if that works.
Carl Bourne
On 6 Jan 2013, at 14:05, Rodrigo Rosenfeld Rosas wrote:
> Hi Carl, I can't replicate your code here as it isn't a complete example (I
> don't have the response object for instance).
>
> But you could try "p" inst
Hi Rodrigo,
Unfortunately your suggestion didn't work. I'm still getting a TypeError: can't
convert Java::SunSecurityX509::X509CertImpl into String.
Any pointers from anybody here would be a lifesaver!!
Best Regards,
Carl
On 6 Jan 2013, at 14:13, Carl Bourne wrote:
> Thanks Rodrigo, I'll
you example says store is a Collection so I do not understand
store.get_certificates(/Safe/) as such. what happens with
store.get_certificates
or
store.get_certificates( nil )
or what objects do have when iterating over the Collection
store.each { |c| p c.type; p c }
just my thoughts after read