Sha256: 0cf8ae9a7758d10bfa34539a185510bb2228860c72776f4c481e54aa762d0adc
Contents?: true
Size: 1 KB
Versions: 9
Compression:
Stored size: 1 KB
Contents
<% api_title = "Negative Case - 2 - should set proper errors when device information is missing" api_input = <<-eos { "country_id": "1", "dialing_prefix": "+92", "mobile_number": "501370323" } eos api_output = <<-eos { "success": false, "errors": { "heading": "Registring new mobile number FAILED", "message": "Check if all mandatory details are passed. Refer the error details for technical information", "details": { "uuid": [ "can't be blank" ], "device_token": [ "can't be blank" ] } } } eos %> <%= render partial: "kuppayam/api/docs/example", locals: { negative_case: true, example_id: "neg_case_2", api_title: api_title, api_input: api_input, api_output: api_output } %>
Version data entries
9 entries across 8 versions & 1 rubygems