Sha256: 2b727e14f5397c700f4e2c5e7d77dca4eed8698eb3fa7d9b10ef96371010d9d9
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
<% api_title = "Positive Case - 1 - should return the profile details along with picture" api_input = <<-eos Example: Authorization: Token token="87b01adbba90824b57add8cc06ad8738" GET #{request.base_url}/api/v1/profile/profile_picture eos api_output = <<-eos { "success": true, "data": { "id": 9, "name": "Nayan Tara", "gender": "female", "date_of_birth": "1984-10-27", "username": "d0dca578", "email": "nayan.tara@yopmail.com", "phone": null, "profile_picture": { "id": 8, "profile_id": 9, "created_at": "21-09-2017 13:02:45", "image_large_path": "/uploads/profile_pictures/8/large_profile_picture.jpg", "image_small_path": "/uploads/profile_pictures/8/small_profile_picture.jpg" } } } eos %> <%= render partial: "kuppayam/api/docs/example", locals: { negative_case: false, example_id: "pos_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/_pos_case_1.html.erb |
usman-0.3.1 | app/views/usman/api/v1/docs/get_profile_info/_pos_case_1.html.erb |