Sha256: d26dc307788a3b4b09618df87c6eef85c814dd40731ba082fb7bfd6a63ecac94
Contents?: true
Size: 1.55 KB
Versions: 1
Compression:
Stored size: 1.55 KB
Contents
% if mode == 'definition': Balanced::BankAccount.new % elif mode == 'request': require 'balanced' Balanced.configure('ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc') bank_account = Balanced::BankAccount.new( :account_number => '9900000001', :name => 'Johann Bernoulli', :routing_number => '121000358', :type => 'checking' ).save % elif mode == 'response': #<Balanced::BankAccount:0x007fdc9b08ca30 @attributes= {"account_number"=>"xxxxxx0001", "account_type"=>"checking", "address"=> {"city"=>nil, "country_code"=>nil, "line1"=>nil, "line2"=>nil, "postal_code"=>nil, "state"=>nil}, "bank_name"=>"BANK OF AMERICA, N.A.", "can_credit"=>true, "can_debit"=>false, "created_at"=>"2014-01-27T22:57:47.772481Z", "fingerprint"=> "5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14", "href"=>"/bank_accounts/BA3qNbYRqFM0Q7MXn3IcjGl0", "id"=>"BA3qNbYRqFM0Q7MXn3IcjGl0", "links"=>{"bank_account_verification"=>nil, "customer"=>nil}, "meta"=>{}, "name"=>"Johann Bernoulli", "routing_number"=>"121000358", "updated_at"=>"2014-01-27T22:57:47.772483Z"}, @hyperlinks= {"bank_account_verification"=> #<Proc:0x007fdc9b09f630/lib/balanced/utils.rb:6 (lambda)>, "bank_account_verifications"=> #<Proc:0x007fdc9b103db0/lib/balanced/utils.rb:6 (lambda)>, "credits"=> #<Proc:0x007fdc9b120dc0/lib/balanced/utils.rb:6 (lambda)>, "customer"=> #<Proc:0x007fdc9b12ae10/lib/balanced/utils.rb:6 (lambda)>, "debits"=> #<Proc:0x007fdc9b130fe0/lib/balanced/utils.rb:6 (lambda)>}> % endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
balanced-1.0.beta1 | scenarios/bank_account_create/ruby.mako |