Sha256: 27a86eeb2a05c0550f96b3a57f8d92f0b8cf2b4a3a13a4b31b0372481574b948

Contents?: true

Size: 268 Bytes

Versions: 7

Compression:

Stored size: 268 Bytes

Contents

<%= boiler_plate %>
debit = Balanced::Debit.fetch('<%= request['debit_href'] %>')
debit.refund(
  :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/refund_create/request.rb
balanced-1.1.1 scenarios/refund_create/request.rb
balanced-1.1.0 scenarios/refund_create/request.rb
balanced-1.0.2 scenarios/refund_create/request.rb
balanced-1.0.1 scenarios/refund_create/request.rb
balanced-1.0 scenarios/refund_create/request.rb
balanced-1.0.beta1 scenarios/refund_create/request.rb