Closed. This question is off-topic. It is not currently accepting answers. Learn more
想改进这个问题吗Update the question所以堆栈溢出的值小于aa>。
5年前关闭。
我有大麻:

request = {"AutoCreate"=>{"Response"=>{"Status"=>"OK", "StatusCode"=>"0", "TransactionStatus"=>"SUCCEEDED", "TransactionReference"=>"MxhRNvs5EuJLTEkhKqO5Olgk2zMtYMTOI0IvQInWPV8EYsWAI7Aji09B3B8Bigzkee20e3bc4bd9eab997d7825b883b7359"}}}

如何访问"Status""StatusCode""TransactionStatus"的哈希值?

最佳答案

result["AutoCreate"]["Response"]["Status"]
result["AutoCreate"]["Response"]["StatusCode"]
result["AutoCreate"]["Response"]["TransactionStatus"]

09-04 08:38