Sha256: dfa29911b64f5f0bacf9f089ef7c7b7efc8989f772378374cf62519a6b7066eb

Contents?: true

Size: 426 Bytes

Versions: 4

Compression:

Stored size: 426 Bytes

Contents

% if mode == 'definition':
Balanced::Credit.save

% else:
require 'balanced'
Balanced.configure('8af725c6d54611e2bf5e026ba7f8ec28')

marketplace = Balanced::Marketplace.my_marketplace

bank_account_info = {
:account_number => '9900000003',:name => 'Johann Bernoulli',:routing_number => '121000358',:type => 'checking',
}

credit = Balanced::Credit.new(
  :amount => 10000,
  :bank_account => bank_account_info
).save

% endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
balanced-0.8.2 scenarios/credit_paid_state/ruby.mako
balanced-0.8.1 scenarios/credit_paid_state/ruby.mako
balanced-0.7.4 scenarios/credit_paid_state/ruby.mako
balanced-0.7.2 scenarios/credit_paid_state/ruby.mako