end
redef fun to_s do return json.to_json
+
+ # Github page url.
+ fun html_url: String do return json["html_url"].to_s
end
# A Github user.
self.json = json
end
- # Github User page url.
- fun html_url: String do return json["html_url"].to_s
-
# Avatar image url for this user.
fun avatar_url: String do return json["avatar_url"].to_s
end
# Repo short name on Github.
fun name: String do return json["name"].to_s
- # Github User page url.
- fun html_url: String do return json["html_url"].to_s
-
# Get the repo owner.
fun owner: User do
return new User.from_json(api, json["owner"].as(JsonObject))