Sha256: 7c752f2ece178d3f72e351a6c0563d3b745ce5f80a4913b33aeb1d4014f4ef1c
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
% if mode == 'definition': Balanced::Order.all % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul') orders = Balanced::Order.all % elif mode == 'response': [#<Balanced::Order:0x007fa4e40fd5a8 @attributes= {"amount"=>0, "amount_escrowed"=>0, "created_at"=>"2014-03-06T19:23:39.207291Z", "currency"=>"USD", "delivery_address"=> {"city"=>nil, "country_code"=>nil, "line1"=>nil, "line2"=>nil, "postal_code"=>nil, "state"=>nil}, "description"=>"Order #12341234", "href"=>"/orders/OR6wcEVkOymvs4PairiGEcIx", "id"=>"OR6wcEVkOymvs4PairiGEcIx", "links"=>{"merchant"=>"CU64R7DS6DwuXYVg9RTskFK8"}, "meta"=>{}, "updated_at"=>"2014-03-06T19:23:39.207294Z"}, @hyperlinks= {"buyers"=> #<Proc:0x007fa4e40f41b0/lib/balanced/utils.rb:6 (lambda)>, "credits"=> #<Proc:0x007fa4e40e1628/lib/balanced/utils.rb:6 (lambda)>, "debits"=> #<Proc:0x007fa4e40dcec0/lib/balanced/utils.rb:6 (lambda)>, "merchant"=> #<Proc:0x007fa4e40de9c8/lib/balanced/resources/resource.rb:60 (lambda)>, "refunds"=> #<Proc:0x007fa4e40d75b0/lib/balanced/utils.rb:6 (lambda)>, "reversals"=> #<Proc:0x007fa4e40d5260/lib/balanced/utils.rb:6 (lambda)>}>] % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.0.1 | scenarios/order_list/ruby.mako |