% if mode == 'definition': Balanced::Customer.fetch % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul') customer = Balanced::Customer.fetch('/customers/CU5YopHN07Ul5XQnILUifeQT') % elif mode == 'response': # {"city"=>nil, "country_code"=>nil, "line1"=>nil, "line2"=>nil, "postal_code"=>"48120", "state"=>nil}, "business_name"=>nil, "created_at"=>"2014-03-06T19:23:15.982885Z", "dob_month"=>7, "dob_year"=>1963, "ein"=>nil, "email"=>nil, "href"=>"/customers/CU5YopHN07Ul5XQnILUifeQT", "id"=>"CU5YopHN07Ul5XQnILUifeQT", "links"=>{"destination"=>nil, "source"=>nil}, "merchant_status"=>"underwritten", "meta"=>{}, "name"=>"Henry Ford", "phone"=>nil, "ssn_last4"=>nil, "updated_at"=>"2014-03-06T19:23:16.724050Z"}, @hyperlinks= {"bank_accounts"=> #, "card_holds"=> #, "cards"=> #, "credits"=> #, "debits"=> #, "destination"=> #, "external_accounts"=> #, "orders"=> #, "refunds"=> #, "reversals"=> #, "source"=> #, "transactions"=> #}> % endif