Sha256: 27c3c28e0a3129a14c1a10829f7d56a8792b701d13098b991e66ecf5e861b771
Contents?: true
Size: 1019 Bytes
Versions: 4
Compression:
Stored size: 1019 Bytes
Contents
<% api_title = "Positive Case - 2 - should verify the otp if the device is verified, tac is accpted and return the api token" api_input = <<-eos { "otp": "11111", "uuid": "<REGISTERED UUID>", "mobile_number": "<REGISTERED MOBILE NUMBER>", "dialing_prefix": "+91" } eos api_output = <<-eos { "success": true, "alert": { "heading": "OTP was verified succesfully", "message": "You may need to accept the terms and conditions to get the API token if you have not yet finised the registration" }, "data": { "api_token": "cfc0eb18c8f3b5922e702f1e10437fa1" } } eos %> <%= render partial: "kuppayam/api/docs/example", locals: { negative_case: false, example_id: "pos_case_2", api_title: api_title, api_input: api_input, api_output: api_output } %>
Version data entries
4 entries across 4 versions & 1 rubygems