Sha256: 1da74c0be049f66d83431d1d0840122e4fbda2653bf3441a131dc18e37ab25f5

Contents?: true

Size: 889 Bytes

Versions: 1

Compression:

Stored size: 889 Bytes

Contents

% if mode == 'definition':
    Balanced::Verification.new.save

% elif mode == 'request':
require 'balanced'
Balanced.configure('ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc')

bank_account = Balanced::BankAccount.fetch('/bank_accounts/BA1D3vL3LjasB0kewMqRGI0S')
verification = bank_account.verify

% elif mode == 'response':
#<Balanced::BankAccountVerification:0x007fdc9c181480
 @attributes=
  {"attempts"=>0,
   "attempts_remaining"=>3,
   "created_at"=>"2014-01-27T22:56:10.726455Z",
   "deposit_status"=>"succeeded",
   "href"=>"/verifications/BZ1FF2MHFH9upRu7C0QUwnby",
   "id"=>"BZ1FF2MHFH9upRu7C0QUwnby",
   "links"=>{"bank_account"=>"BA1D3vL3LjasB0kewMqRGI0S"},
   "meta"=>{},
   "updated_at"=>"2014-01-27T22:56:12.545750Z",
   "verification_status"=>"pending"},
 @hyperlinks=
  {"bank_account"=>
    #<Proc:0x007fdc9c18b2f0/lib/balanced/resources/resource.rb:60 (lambda)>}>

% endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balanced-1.0.beta1 scenarios/bank_account_verification_create/ruby.mako