Sha256: c23554998f2c7ef7eaa8f27f2f3acf0cc7d5884ce6cdcee4bcd8099efd5ffe4d
Contents?: true
Size: 816 Bytes
Versions: 2
Compression:
Stored size: 816 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/profile_picture 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
usman-0.3.2 | app/views/usman/api/v1/docs/get_profile_info/_neg_case_1.html.erb |
usman-0.3.1 | app/views/usman/api/v1/docs/get_profile_info/_neg_case_1.html.erb |