Passed
Push — master ( 7072a0...7d8832 )
by Kunal
03:50
created

com.base.Http.Server.Responses.ChannelMember.DeleteChannelMemberResponse   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getResponse(Request,Response) 0 4 1
1
package com.base.Http.Server.Responses.ChannelMember;
2
3
import com.base.Http.Request.Request;
4
import com.base.Http.Response.Response;
5
import com.base.Http.Server.Responses.BaseResponse;
6
7
public class DeleteChannelMemberResponse extends BaseResponse {
8
9
    public static String VALID_TEAM_SLUG = "twitter";
10
    public static String VALID_CHANNEL_SLUG = "design";
11
    public static String VALID_DELETED_TEAM_SLUG = "twitter-1";
12
    public static String VALID_USER_ID = "1";
13
14
    @Override
15
    public Response getResponse(Request request, Response response) {
16
        return response.setStatusCode(200)
17
                .setBody("");
18
    }
19
}
20