Sha256: 572f42cbc130da2c22ebb4b5430ea52c38acf205f95d5a2f934b9949f8cb69b9

Contents?: true

Size: 931 Bytes

Versions: 4

Compression:

Stored size: 931 Bytes

Contents

<%

api_title = "Positive Case - 1 - should verify an otp verification request from a pending device"

api_input = <<-eos
{
  "otp": "11111",
  "uuid": "<PENDING UUID>",
  "mobile_number": "<PENDING 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": {}
}
eos

%>

<%= render partial: "kuppayam/api/docs/example", locals: {
                                        negative_case: false,
                                        example_id: "pos_case_1",
                                        api_title: api_title,
                                        api_input: api_input,
                                        api_output: api_output 
                                      } %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
usman-0.2.9 app/views/usman/api/v1/docs/verify_otp/_pos_case_1.html.erb
usman-0.2.8 app/views/usman/api/v1/docs/verify_otp/_pos_case_1.html.erb
usman-0.2.7 app/views/usman/api/v1/docs/verify_otp/_pos_case_1.html.erb
usman-0.2.6 app/views/usman/api/v1/docs/verify_otp/_pos_case_1.html.erb