<% 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": "", "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 } %>