Sha256: 205c8717ff2468bf7a114e80d01cd74d7eb283f71253c2dafd0cbe1cdb783eca
Contents?: true
Size: 967 Bytes
Versions: 2
Compression:
Stored size: 967 Bytes
Contents
% if mode == 'definition': Balanced::Debit.dispute % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-2q80HU8DISm2atgm0iRKRVIePzDb34qYp') debit = Balanced::Debit.fetch('/debits/WD6mairBakAx5t8ETjMYFu7T') dispute = debit.dispute % elif mode == 'response': #<Balanced::Dispute:0x007fa7d1a071e0 @attributes= {"amount"=>5000, "created_at"=>"2014-05-15T00:42:52.610582Z", "currency"=>"USD", "href"=>"/disputes/DT6BoisMcacTIu3QWX32JVtl", "id"=>"DT6BoisMcacTIu3QWX32JVtl", "initiated_at"=>"2014-05-15T00:42:41.973330Z", "links"=>{"transaction"=>"WD6mairBakAx5t8ETjMYFu7T"}, "meta"=>{}, "reason"=>"fraud", "respond_by"=>"2014-06-14T00:42:41.973334Z", "status"=>"pending", "updated_at"=>"2014-05-15T00:42:52.610592Z"}, @hyperlinks= {"events"=> #<Proc:0x007fa7d19fe0b8/lib/balanced/utils.rb:6 (lambda)>, "transaction"=> #<Proc:0x007fa7d19f6ae8/lib/balanced/resources/resource.rb:60 (lambda)>}> % endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.1.1 | scenarios/debit_dispute_show/ruby.mako |
balanced-1.1.0 | scenarios/debit_dispute_show/ruby.mako |