scenarios/refund_show/ruby.mako in balanced-1.0.1 vs scenarios/refund_show/ruby.mako in balanced-1.0.2
- old
+ new
@@ -1,38 +1,38 @@
% if mode == 'definition':
Balanced::Refund.fetch
% elif mode == 'request':
require 'balanced'
-Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul')
+Balanced.configure('ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV')
-refund = Balanced::Refund.fetch('/refunds/RF6HsnqferSuES9VZEWrthG2')
+refund = Balanced::Refund.fetch('/refunds/RF4VbbS5LdgSxlECITkHg0Zf')
% elif mode == 'response':
-#<Balanced::Refund:0x007fa4e4a50c40
+#<Balanced::Refund:0x007fa93b75f490
@attributes=
{"amount"=>3000,
- "created_at"=>"2014-03-06T19:23:46.176138Z",
+ "created_at"=>"2014-04-25T20:10:22.593252Z",
"currency"=>"USD",
"description"=>"Refund for Order #1111",
- "href"=>"/refunds/RF6HsnqferSuES9VZEWrthG2",
- "id"=>"RF6HsnqferSuES9VZEWrthG2",
+ "href"=>"/refunds/RF4VbbS5LdgSxlECITkHg0Zf",
+ "id"=>"RF4VbbS5LdgSxlECITkHg0Zf",
"links"=>
- {"debit"=>"WD6BKYhbRzlRhfKSE1DcpqS5", "dispute"=>nil, "order"=>nil},
+ {"debit"=>"WD4SOTNKiZbBFrmMk6mfszIl", "dispute"=>nil, "order"=>nil},
"meta"=>
{"fulfillment.item.condition"=>"OK",
"merchant.feedback"=>"positive",
"user.refund_reason"=>"not happy with product"},
"status"=>"succeeded",
- "transaction_number"=>"RF348-549-7723",
- "updated_at"=>"2014-03-06T19:23:48.234584Z"},
+ "transaction_number"=>"RF854-846-2859",
+ "updated_at"=>"2014-04-25T20:10:23.032505Z"},
@hyperlinks=
{"debit"=>
- #<Proc:0x007fa4e4a4aa98/lib/balanced/resources/resource.rb:60 (lambda)>,
+ #<Proc:0x007fa93b75d8e8/lib/balanced/resources/resource.rb:60 (lambda)>,
"dispute"=>
- #<Proc:0x007fa4e4a49df0/lib/balanced/utils.rb:6 (lambda)>,
+ #<Proc:0x007fa93b75cf60/lib/balanced/utils.rb:6 (lambda)>,
"events"=>
- #<Proc:0x007fa4e4a43f18/lib/balanced/utils.rb:6 (lambda)>,
+ #<Proc:0x007fa93b756fc0/lib/balanced/utils.rb:6 (lambda)>,
"order"=>
- #<Proc:0x007fa4e4a43338/lib/balanced/utils.rb:6 (lambda)>}>
+ #<Proc:0x007fa93b7565c0/lib/balanced/utils.rb:6 (lambda)>}>
% endif