Sha256: f5090a41de11ebad4e6f4113c04e16f10be855c61a64cc1e6f94e6d79cab7af3
Contents?: true
Size: 805 Bytes
Versions: 47
Compression:
Stored size: 805 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/profile_info 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
47 entries across 47 versions & 1 rubygems