Sha256: 63599c122eca0bf6ad8fade29daa4dedb94696d80577706356de4f7dee4c5f1b

Contents?: true

Size: 860 Bytes

Versions: 49

Compression:

Stored size: 860 Bytes

Contents

<%

api_title = "Positive Case - 1 - should delete a profile picture for a user"

api_input = <<-eos
Example:

Authorization: Token token="87b01adbba90824b57add8cc06ad8738"
DELETE #{request.base_url}/api/v1/profile/profile_picture
{}
eos

api_output = <<-eos
{
  "success": true,
  "alert": {
    "heading": "User/Profile Image was deleted successfully",
    "message": "You may use Profile Picture Upload API to add one again"
  }
}
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

49 entries across 49 versions & 1 rubygems

Version Path
usman-0.3.29 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.28 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.27 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.26 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.25 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.24 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.23 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.22 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.21 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.20 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.19 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.18 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.17 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.16 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.15 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.14 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.13 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.12 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.11 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.10 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb