Sha256: 080da4f58a83da6008e0369972c1ed277518c930eccda4b45910b19acff36c38
Contents?: true
Size: 859 Bytes
Versions: 26
Compression:
Stored size: 859 Bytes
Contents
<% api_title = "Negative Case - 1 - should set proper errors if api token is not present" api_input = <<-eos Example: Authorization: nil GET #{request.base_url}/api/v1/contacts/1 Single contact API fetch single contact from back end 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
26 entries across 26 versions & 1 rubygems