Sha256: 5616885d85ee652a7f1c025eb5db7bfab476b8bfab4468b33ccc0d3f42c39c19
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 { } Contact API fetch the synced data from the data base 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