scenarios/refund_show/ruby.mako in balanced-1.0.2 vs scenarios/refund_show/ruby.mako in balanced-1.1.0

- old
+ new

@@ -1,38 +1,38 @@ % if mode == 'definition': Balanced::Refund.fetch % elif mode == 'request': require 'balanced' -Balanced.configure('ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV') +Balanced.configure('ak-test-2q80HU8DISm2atgm0iRKRVIePzDb34qYp') -refund = Balanced::Refund.fetch('/refunds/RF4VbbS5LdgSxlECITkHg0Zf') +refund = Balanced::Refund.fetch('/refunds/RF635DEq9cKcoNDr0ljY4dU1') % elif mode == 'response': -#<Balanced::Refund:0x007fa93b75f490 +#<Balanced::Refund:0x007fa7d41ffbe8 @attributes= {"amount"=>3000, - "created_at"=>"2014-04-25T20:10:22.593252Z", + "created_at"=>"2014-05-15T00:42:22.128891Z", "currency"=>"USD", "description"=>"Refund for Order #1111", - "href"=>"/refunds/RF4VbbS5LdgSxlECITkHg0Zf", - "id"=>"RF4VbbS5LdgSxlECITkHg0Zf", + "href"=>"/refunds/RF635DEq9cKcoNDr0ljY4dU1", + "id"=>"RF635DEq9cKcoNDr0ljY4dU1", "links"=> - {"debit"=>"WD4SOTNKiZbBFrmMk6mfszIl", "dispute"=>nil, "order"=>nil}, + {"debit"=>"WD5z5CvSR6PFx0GgUFn0icKx", "dispute"=>nil, "order"=>nil}, "meta"=> {"fulfillment.item.condition"=>"OK", "merchant.feedback"=>"positive", "user.refund_reason"=>"not happy with product"}, "status"=>"succeeded", - "transaction_number"=>"RF854-846-2859", - "updated_at"=>"2014-04-25T20:10:23.032505Z"}, + "transaction_number"=>"RF710-400-6883", + "updated_at"=>"2014-05-15T00:42:32.373753Z"}, @hyperlinks= {"debit"=> - #<Proc:0x007fa93b75d8e8/lib/balanced/resources/resource.rb:60 (lambda)>, + #<Proc:0x007fa7d41fcdf8/lib/balanced/resources/resource.rb:60 (lambda)>, "dispute"=> - #<Proc:0x007fa93b75cf60/lib/balanced/utils.rb:6 (lambda)>, + #<Proc:0x007fa7d41f7df8/lib/balanced/utils.rb:6 (lambda)>, "events"=> - #<Proc:0x007fa93b756fc0/lib/balanced/utils.rb:6 (lambda)>, + #<Proc:0x007fa7d41f5968/lib/balanced/utils.rb:6 (lambda)>, "order"=> - #<Proc:0x007fa93b7565c0/lib/balanced/utils.rb:6 (lambda)>}> + #<Proc:0x007fa7d41f4ef0/lib/balanced/utils.rb:6 (lambda)>}> % endif