Sha256: 218d099f0399f387e7dd5a259c405705a920b7ef89bc25001a59828e76659efa
Contents?: true
Size: 913 Bytes
Versions: 7
Compression:
Stored size: 913 Bytes
Contents
<% api_title = "Negative Case - 3 - should respond with proper errors if uuid is not registered" api_input = <<-eos { "otp": "11111", "dialing_prefix": "+91", "mobile_number": "<REGISTERED MOBILE NUMBER>", "uuid": "<NEW UUID>" } eos api_output = <<-eos { "success": false, "errors": { "heading": "The device is not registered", "message": "Resending OTP Failed. Check if the UUID entered is valid", "details": { "uuid": "is invalid" } } } eos %> <%= render partial: "kuppayam/api/docs/example", locals: { negative_case: true, example_id: "neg_case_3", api_title: api_title, api_input: api_input, api_output: api_output } %>
Version data entries
7 entries across 7 versions & 1 rubygems