Sha256: 141526937beb24089b9d5f5d155bd54ce091819060936b598af7a00e74ca326c

Contents?: true

Size: 221 Bytes

Versions: 7

Compression:

Stored size: 221 Bytes

Contents

<%= boiler_plate %>
customer = Balanced::Customer.fetch('<%= request['uri'] %>')
customer.email = '<%= payload['email'] %>'
customer.meta = {
<%= params_to_hash_for_args.call(payload['meta']).indent(2) %>
}
customer.save

Version data entries

7 entries across 7 versions & 1 rubygems

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