% if mode == 'definition': Balanced::Order.all % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul') orders = Balanced::Order.all % elif mode == 'response': [#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"=> #, "credits"=> #, "debits"=> #, "merchant"=> #, "refunds"=> #, "reversals"=> #}>] % endif