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
{{ message }}
This repository was archived by the owner on Jan 5, 2019. It is now read-only.
They are get through `DevRant.collabs()` or by an id (`Collab.byId(id)`).
78
+
The latter will throw a `NoSuchRantException` if the id is invalid, or a `NotACollabException` if it is simply a rant instead of a collab.
79
+
Besides the attributes from a rant, collabs have the following attributes:
80
+
81
+
- projectType
82
+
- description
83
+
- techStack
84
+
- teamSize
85
+
- url
86
+
87
+
Like with a rant the comments can be fetched or force fetched.
88
+
There is also more data which needs to be fetched, similar to the comments this is done by calling `fetchData()` or `fetchData(force)` to force fetch it.
89
+
90
+
Examples:
91
+
92
+
```
93
+
// Get a collab by its id.
94
+
Collab collab = Collab.byId(420392);
95
+
96
+
// Force fetch the data.
97
+
boolean success = collab.fetchData(true);
98
+
```
99
+
75
100
### Comment
76
101
A comment only contains the attributes from `RantContent`.
0 commit comments