Sha256: 0c676ee66a7710292744fd9955e68c1ff9f61ac501a86c848a0b37c28065ea09

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

% if mode == 'definition':
Balanced::Account.credit()

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

marketplace = Balanced::Marketplace.my_marketplace

merchant = Balanced::Account.find('/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c')
merchant.credit('100')
% endif

Version data entries

5 entries across 5 versions & 1 rubygems

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