% if mode == 'definition': Balanced::Order.all % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc') orders = Balanced::Order.all % elif mode == 'response': [#0, "amount_escrowed"=>0, "created_at"=>"2014-01-27T22:58:01.115720Z", "currency"=>"USD", "delivery_address"=> {"city"=>nil, "country_code"=>nil, "line1"=>nil, "line2"=>nil, "postal_code"=>nil, "state"=>nil}, "description"=>"Order #12341234", "href"=>"/orders/OR3FOihZa7lMHdAP5p8BJZVY", "id"=>"OR3FOihZa7lMHdAP5p8BJZVY", "links"=>{"merchant"=>"CU3eeasZ9yQ86uzzIYZkrPGg"}, "meta"=>{}, "updated_at"=>"2014-01-27T22:58:01.115723Z"}, @hyperlinks= {"buyers"=> #, "credits"=> #, "debits"=> #, "merchant"=> #, "refunds"=> #, "reversals"=> #}>] % endif