Sha256: c7bbf684b61e04960fe85b5f104ecc7b6c1efbaebd3b2e63df77b31d25502c06

Contents?: true

Size: 897 Bytes

Versions: 7

Compression:

Stored size: 897 Bytes

Contents

<%

api_title = "Negative Case - 1 - should not accept the terms and conditions if the device is not verified"

api_input = <<-eos
{
  "terms_and_conditions": 1,
  "uuid": "<PENDING UUID>",
  "mobile_number": "<PENDING MOBILE NUMBER>",
  "dialing_prefix": "+91"
}
eos

api_output = <<-eos
{
  "success": false,
  "errors": {
    "heading": "This device is not verified",
    "message": "You need to verify this device before you can accept the terms and conditions"
  }
}
eos

%>

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
usman-0.3.0 app/views/usman/api/v1/docs/accept_tac/_neg_case_1.html.erb
usman-0.2.11 app/views/usman/api/v1/docs/accept_tac/_neg_case_1.html.erb
usman-0.2.10 app/views/usman/api/v1/docs/accept_tac/_neg_case_1.html.erb
usman-0.2.9 app/views/usman/api/v1/docs/accept_tac/_neg_case_1.html.erb
usman-0.2.8 app/views/usman/api/v1/docs/accept_tac/_neg_case_1.html.erb
usman-0.2.7 app/views/usman/api/v1/docs/accept_tac/_neg_case_1.html.erb
usman-0.2.6 app/views/usman/api/v1/docs/accept_tac/_neg_case_1.html.erb