scenarios/refund_show/ruby.mako in balanced-1.0.beta1 vs scenarios/refund_show/ruby.mako in balanced-1.0
- old
+ new
@@ -1,38 +1,38 @@
% if mode == 'definition':
Balanced::Refund.fetch
% elif mode == 'request':
require 'balanced'
-Balanced.configure('ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc')
+Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul')
-refund = Balanced::Refund.fetch('/refunds/RF3RklPuFgsgI50UuYtr4g6I')
+refund = Balanced::Refund.fetch('/refunds/RF6HsnqferSuES9VZEWrthG2')
% elif mode == 'response':
-#<Balanced::Refund:0x007fdc9b1cd250
+#<Balanced::Refund:0x007ff2bc1125e0
@attributes=
{"amount"=>3000,
- "created_at"=>"2014-01-27T22:58:11.375665Z",
+ "created_at"=>"2014-03-06T19:23:46.176138Z",
"currency"=>"USD",
"description"=>"Refund for Order #1111",
- "href"=>"/refunds/RF3RklPuFgsgI50UuYtr4g6I",
- "id"=>"RF3RklPuFgsgI50UuYtr4g6I",
+ "href"=>"/refunds/RF6HsnqferSuES9VZEWrthG2",
+ "id"=>"RF6HsnqferSuES9VZEWrthG2",
"links"=>
- {"debit"=>"WD3MKNxNTKBGgA7mX50yogiu", "dispute"=>nil, "order"=>nil},
+ {"debit"=>"WD6BKYhbRzlRhfKSE1DcpqS5", "dispute"=>nil, "order"=>nil},
"meta"=>
{"fulfillment.item.condition"=>"OK",
"merchant.feedback"=>"positive",
"user.refund_reason"=>"not happy with product"},
"status"=>"succeeded",
- "transaction_number"=>"RF383-088-7077",
- "updated_at"=>"2014-01-27T22:58:12.115131Z"},
+ "transaction_number"=>"RF348-549-7723",
+ "updated_at"=>"2014-03-06T19:23:48.234584Z"},
@hyperlinks=
{"debit"=>
- #<Proc:0x007fdc9b1c5f28/lib/balanced/resources/resource.rb:60 (lambda)>,
+ #<Proc:0x007ff2bd9b5f48/lib/balanced/resources/resource.rb:60 (lambda)>,
"dispute"=>
- #<Proc:0x007fdc9b1c4c18/lib/balanced/utils.rb:6 (lambda)>,
+ #<Proc:0x007ff2bd9b6970/lib/balanced/utils.rb:6 (lambda)>,
"events"=>
- #<Proc:0x007fdc9b1a3d88/lib/balanced/utils.rb:6 (lambda)>,
+ #<Proc:0x007ff2bd9afb98/lib/balanced/utils.rb:6 (lambda)>,
"order"=>
- #<Proc:0x007fdc9b198320/lib/balanced/utils.rb:6 (lambda)>}>
+ #<Proc:0x007ff2bd9aed38/lib/balanced/utils.rb:6 (lambda)>}>
% endif