I'm calling a services API, and it returns a response object, how can I inspect all its properties etc?
I'm calling a services API, and it returns a response object, how can I inspect all its properties etc?
I don't know the exact nature of the response object, and there is little documentation on it.
response = .....
In irb, I just do a puts response
, wi开发者_如何转开发ll this display all the properties or they can still be hidden?
Try response.inspect
精彩评论