Sha256: 95b21747321a5bed9762a9c47f5c27a52d2327fb8e80e3ca4d11c322c964b246
Contents?: true
Size: 1.28 KB
Versions: 3
Compression:
Stored size: 1.28 KB
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": { "api_token": "", "registration": { "id": 4, "user_id": "", "country_id": 1, "city_id": "", "dialing_prefix": "+91", "mobile_number": "192837465", "status": "verified" }, "profile": { "id": "", "name": "", "gender": "", "email": "", "date_of_birth": "" } } } 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
3 entries across 3 versions & 1 rubygems