Sha256: 7ff3728cca9be36246371bf00a9561ff600941e9282c07065c1f1ad2a023e269

Contents?: true

Size: 275 Bytes

Versions: 7

Compression:

Stored size: 275 Bytes

Contents

<%= boiler_plate %>
reversal = Balanced::Credit.fetch('<%= request['credit_href'] %>')
credit.reverse(
  :amount => <%= payload['amount'] %>,
  :description => '<%= payload['description'] %>',
  :meta => {
<%= params_to_hash_for_args.call(payload['meta']).indent(2) %>
  }
)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
balanced-1.2.1 scenarios/reversal_create/request.rb
balanced-1.1.1 scenarios/reversal_create/request.rb
balanced-1.1.0 scenarios/reversal_create/request.rb
balanced-1.0.2 scenarios/reversal_create/request.rb
balanced-1.0.1 scenarios/reversal_create/request.rb
balanced-1.0 scenarios/reversal_create/request.rb
balanced-1.0.beta1 scenarios/reversal_create/request.rb