You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-4Lines changed: 21 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,18 +14,35 @@ This library is intended to be used in server-side contexts and has not been eva
14
14
15
15
## Usage
16
16
17
-
There are a variety flag types that we offer, but `Boolean` provides the simplest introduction. We can use this SDK to determine if we should show our latest redesign or not.
17
+
While `Boolean` provides the simplest introduction, we offer a variety of flag types.
18
18
19
19
```java
20
20
classMyClass {
21
-
// ...
22
-
publicvoidmyFunction() {
21
+
publicUIbooleanExample() {
22
+
// Should we render the redesign? Or the default webpage?
23
23
if (client.getBooleanValue("redesign_enabled", false)) {
24
24
return render_redesign();
25
25
}
26
26
return render_normal();
27
27
}
28
-
// ...
28
+
29
+
publicTemplatestringExample() {
30
+
// Get the template to load for the custom new homepage
0 commit comments