Sha256: 404fff6033a7338199b36c9df2c26dc37575045d37bab13e95a80d044b856001

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

<%= boiler_plate %>
marketplace = Balanced::Marketplace.my_marketplace

bank_account_info = {
<%= params_to_hash.call(request['payload']['bank_account']).indent(2) %>
}

credit = Balanced::Credit.new(
  :amount => <%= request['payload']['amount'] %>,
  :bank_account => bank_account_info
).save

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balanced-0.7.5 scenarios/credit_paid_state/request.rb