Sha256: 599876caf7d702ab5cc7337c4f67984f1c37f6eeb3db92a1f1f1a4be1b7e1533

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-22IOkhevjZlmRP2do6CZixkkDshTiOjTV')

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

% elif mode == 'response':
#<Balanced::BankAccountVerification:0x007fa93eab4ae8
 @attributes=
  {"attempts"=>0,
   "attempts_remaining"=>3,
   "created_at"=>"2014-04-25T20:09:17.814785Z",
   "deposit_status"=>"succeeded",
   "href"=>"/verifications/BZ3KkIZuSazKfqFrFIfsrhmB",
   "id"=>"BZ3KkIZuSazKfqFrFIfsrhmB",
   "links"=>{"bank_account"=>"BA3IhKG3bIN22cLHbaOIGtHb"},
   "meta"=>{},
   "updated_at"=>"2014-04-25T20:09:18.218504Z",
   "verification_status"=>"pending"},
 @hyperlinks=
  {"bank_account"=>
    #<Proc:0x007fa93eaae2b0/lib/balanced/resources/resource.rb:60 (lambda)>}>

% endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balanced-1.0.2 scenarios/bank_account_verification_create/ruby.mako