Sha256: 6ef92e2b52aa0fce29588d077abfd3c536fef0917f51884894ed8d92b8e28e1c

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

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

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

customer = Balanced::Customer.find('/v1/customers/ACO702cHD2tPiOCRSKYzVf1')
customer.hold(
  :amount => '5000',
  :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.8.2 scenarios/hold_create/ruby.mako
balanced-0.8.1 scenarios/hold_create/ruby.mako