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.9 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.8 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.7 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.6 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.5 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.4 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.3 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.2 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb
usman-0.3.1 app/views/usman/api/v1/docs/delete_profile_picture/_pos_case_1.html.erb