Sha256: e9688fa7e146925bd9eb4fd27b8265da91c92b0234209b5a113534fb1ac9d13a

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

% if mode == 'definition':
Balanced::Customer.debit()

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

customer = Balanced::Customer.find('')
customer.debit({:amount=>5000, :appears_on_statement_as=>"Statement text", :description=>"Some descriptive text for the debit in the dashboard"})

% endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
balanced-0.7.4 scenarios/debit_create/ruby.mako
balanced-0.7.2 scenarios/debit_create/ruby.mako