scenarios/reversal_show/ruby.mako in balanced-1.0.1 vs scenarios/reversal_show/ruby.mako in balanced-1.0.2
- old
+ new
@@ -1,37 +1,37 @@
% if mode == 'definition':
Balanced::Reversal.fetch
% elif mode == 'request':
require 'balanced'
-Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul')
+Balanced.configure('ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV')
-reversal = Balanced::Reversal.fetch('/reversals/RV6OCxJ1UhkG84is6H9PHjkZ')
+reversal = Balanced::Reversal.fetch('/reversals/RV6qrEOTouLeIJuPu4s73Ra1')
% elif mode == 'response':
-#<Balanced::Reversal:0x007fa4e49c3340
+#<Balanced::Reversal:0x007fa93b6c4c38
@attributes=
{"amount"=>3000,
- "created_at"=>"2014-03-06T19:23:55.596399Z",
+ "created_at"=>"2014-04-25T20:18:55.008280Z",
"currency"=>"USD",
"description"=>"Reversal for Order #1111",
"failure_reason"=>nil,
"failure_reason_code"=>nil,
- "href"=>"/reversals/RV6OCxJ1UhkG84is6H9PHjkZ",
- "id"=>"RV6OCxJ1UhkG84is6H9PHjkZ",
- "links"=>{"credit"=>"CR6NpuEtezCdLTYngDrSEODv", "order"=>nil},
+ "href"=>"/reversals/RV6qrEOTouLeIJuPu4s73Ra1",
+ "id"=>"RV6qrEOTouLeIJuPu4s73Ra1",
+ "links"=>{"credit"=>"CR6nBcaGvGc4dtflEB1bjKBP", "order"=>nil},
"meta"=>
{"fulfillment.item.condition"=>"OK",
"merchant.feedback"=>"positive",
"user.refund_reason"=>"not happy with product"},
"status"=>"succeeded",
- "transaction_number"=>"RV542-861-3670",
- "updated_at"=>"2014-03-06T19:23:56.470321Z"},
+ "transaction_number"=>"RV296-883-6069",
+ "updated_at"=>"2014-04-25T20:18:57.393905Z"},
@hyperlinks=
{"credit"=>
- #<Proc:0x007fa4e49c1d88/lib/balanced/resources/resource.rb:60 (lambda)>,
+ #<Proc:0x007fa93b6bf030/lib/balanced/resources/resource.rb:60 (lambda)>,
"events"=>
- #<Proc:0x007fa4e49bb640/lib/balanced/utils.rb:6 (lambda)>,
+ #<Proc:0x007fa93b6bd0c8/lib/balanced/utils.rb:6 (lambda)>,
"order"=>
- #<Proc:0x007fa4e49bb488/lib/balanced/utils.rb:6 (lambda)>}>
+ #<Proc:0x007fa93b6bc6a0/lib/balanced/utils.rb:6 (lambda)>}>
% endif