Sha256: 74b6e4399cf820d735c2a85d4ce1afae0810d5c5fdd122a0d1ef88b2766416c9

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

# bank_account_href is the stored href for the BankAccount
# order_href is the stored href for the Order
bank_account = Balanced::BankAccount.fetch(bank_account_href)
credit = bank_account.credit(
  :amount => 100000,
  :description => 'Payout for order #1111',
  :order => order_href
)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balanced-1.2.1 snippets/credit-create.rb