% if mode == 'definition': Balanced::Customer.all % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV') customers = Balanced::Customer.all % elif mode == 'response': [# {"city"=>nil, "country_code"=>nil, "line1"=>nil, "line2"=>nil, "postal_code"=>"48120", "state"=>nil}, "business_name"=>nil, "created_at"=>"2014-04-25T20:10:09.606769Z", "dob_month"=>7, "dob_year"=>1963, "ein"=>nil, "email"=>nil, "href"=>"/customers/CU4GAx8tZTDNIgAmwfV35e53", "id"=>"CU4GAx8tZTDNIgAmwfV35e53", "links"=>{"destination"=>nil, "source"=>nil}, "merchant_status"=>"underwritten", "meta"=>{}, "name"=>"Henry Ford", "phone"=>nil, "ssn_last4"=>nil, "updated_at"=>"2014-04-25T20:10:09.810570Z"}, @hyperlinks= {"bank_accounts"=> #, "card_holds"=> #, "cards"=> #, "credits"=> #, "debits"=> #, "destination"=> #, "external_accounts"=> #, "orders"=> #, "refunds"=> #, "reversals"=> #, "source"=> #, "transactions"=> #}>, # {"city"=>nil, "country_code"=>nil, "line1"=>nil, "line2"=>nil, "postal_code"=>"48120", "state"=>nil}, "business_name"=>nil, "created_at"=>"2014-04-25T20:09:28.164202Z", "dob_month"=>7, "dob_year"=>1963, "ein"=>nil, "email"=>nil, "href"=>"/customers/CU3VYCUIfwngJsidJWdGw2W5", "id"=>"CU3VYCUIfwngJsidJWdGw2W5", "links"=>{"destination"=>nil, "source"=>nil}, "merchant_status"=>"underwritten", "meta"=>{}, "name"=>"Henry Ford", "phone"=>nil, "ssn_last4"=>nil, "updated_at"=>"2014-04-25T20:09:28.595435Z"}, @hyperlinks= {"bank_accounts"=> #, "card_holds"=> #, "cards"=> #, "credits"=> #, "debits"=> #, "destination"=> #, "external_accounts"=> #, "orders"=> #, "refunds"=> #, "reversals"=> #, "source"=> #, "transactions"=> #}>] % endif