Sha256: 19ea75ea3119250c363234450db3d43ee20c88410d38422faf6532ef4fb9676a
Contents?: true
Size: 810 Bytes
Versions: 23
Compression:
Stored size: 810 Bytes
Contents
<% api_title = "Negative Case - 1 - should set proper errors if api token is not present" api_input = <<-eos Example: Authorization: nil DELETE #{request.base_url}/api/v1/delete_account eos api_output = <<-eos { "success": false, "errors": { "heading": "Invalid API Token", "message": "Use the API Token you have received after accepting the terms and agreement" } } 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
23 entries across 23 versions & 1 rubygems