Sha256: 423bc52b14f0dc7aa3d9cdb4affc4f8d0d419900fa5f47720b73f7ee54636698
Contents?: true
Size: 1.1 KB
Versions: 19
Compression:
Stored size: 1.1 KB
Contents
<% api_title = "Positive Case - 1 - should accept the terms and conditions if the device is verified and all inputs are valid" 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": "<VERIFIED UUID>", "mobile_number": "<VERIFIED MOBILE NUMBER>", "dialing_prefix": "+91" } eos api_output = <<-eos { "success": true, "alert": { "heading": "You have successfully accepted the Terms & Conditions. Proceed with Registration process if any", "message": "Store and use the API token for further communication" }, "data": { "api_token": "ajshdjkashdkjasdas" } } 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
19 entries across 19 versions & 1 rubygems