File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
advanced-integration/v2/server/ruby
standard-integration/server/ruby Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5454 ) ,
5555 'prefer' => 'return=representation'
5656 } )
57- order_response . data . to_json
57+ json order_response . data
5858end
5959
6060# Capture payment for the created order to complete the transaction.
6565 'id' => order_id ,
6666 'prefer' => 'return=representation'
6767 } )
68- capture_response . data . to_json
68+ json capture_response . data
6969rescue ErrorException => e
7070end
Original file line number Diff line number Diff line change 5454 ) ,
5555 'prefer' => 'return=representation'
5656 } )
57- order_response . data . to_json
57+ json order_response . data
5858end
5959
6060# Capture payment for the created order to complete the transaction.
6565 'id' => order_id ,
6666 'prefer' => 'return=representation'
6767 } )
68- capture_response . data . to_json
68+ json capture_response . data
6969rescue ErrorException => e
7070end
You can’t perform that action at this time.
0 commit comments