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

getResponse(Request,Response)   A

Complexity

Conditions 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 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 CreateChannelMemberResponse extends BaseResponse {
8
9
    public static String VALID_USER_ID = "1";
10
    public static String VALID_TEAM_SLUG = "twitter";
11
    public static String VALID_CHANNEL_SLUG = "design";
12
    public static String INVALID_CHANNEL_SLUG = "design-1";
13
    public static String INVALID_TEAM_SLUG = "twitter-1";
14
15
    @Override
16
    public Response getResponse(Request request, Response response) {
17
        return response.setStatusCode(200)
18
                .setBody("");
19
    }
20
}
21