开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜