Sha256: e1c15bfc0768233234fe1cd10b89df65ec91aa21c18c9a34b86310645658cd09

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

% if mode == 'definition':
Balanced::Debit.save()

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

debit = Balanced::Debit.find('/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF')
debit.description = 'New description for debit'
debit.meta = {
    'anykey' => 'valuegoeshere',
    'facebook.id' => '1234567890'
}
debit.save

% endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
balanced-0.8.2 scenarios/debit_update/ruby.mako
balanced-0.8.1 scenarios/debit_update/ruby.mako