Sha256: a923d037586a5dff0c6883c47ae343c98a8e4f40a376cb5c9ed0f6d4e5189464
Contents?: true
Size: 1005 Bytes
Versions: 49
Compression:
Stored size: 1005 Bytes
Contents
<% api_title = "Negative Case - 1 - should not accept the terms and conditions if the device is not verified" api_input = <<-eos Example: POST #{request.base_url}/api/v1/accept_tac In the request body, pass the following as raw json: { "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
49 entries across 49 versions & 1 rubygems