File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ public class ID {
4
4
}
5
5
6
6
public static func unique() -> String {
7
- return ' unique()'
7
+ return " unique()"
8
8
}
9
9
}
Original file line number Diff line number Diff line change 1
1
public class Role {
2
2
public static func any() -> String {
3
- return ' any'
3
+ return " any"
4
4
}
5
5
6
6
public static func user(_ id: String) -> String {
7
- return ' user:\(id)'
7
+ return " user:\(id)"
8
8
}
9
9
10
10
public static func users() -> String {
11
- return ' users'
11
+ return " users"
12
12
}
13
13
14
14
public static func guests() -> String {
15
- return ' guests'
15
+ return " guests"
16
16
}
17
17
18
18
public static func team(_ id: String, _ role: String = "") -> String {
19
19
if(role.isEmpty) {
20
- return ' team:\(id)'
20
+ return " team:\(id)"
21
21
}
22
- return ' team:\(id)/\(role)'
22
+ return " team:\(id)/\(role)"
23
23
}
24
24
25
25
public static func status(_ status: String) -> String {
26
- return ' status:\(status)'
26
+ return " status:\(status)"
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments