Commit e8c27ffa authored by Greg Messner's avatar Greg Messner
Browse files

Fixed mis-spell in sample code.

parent df9af5f9
...@@ -6,7 +6,7 @@ This project provides a full featured Java API for working with GitLab repositor ...@@ -6,7 +6,7 @@ This project provides a full featured Java API for working with GitLab repositor
It is quite simple to use, all you need is the URL to your GitLab server and the Private Token from your GitLab Account Settings page. Once you have that info it is as simple as: It is quite simple to use, all you need is the URL to your GitLab server and the Private Token from your GitLab Account Settings page. Once you have that info it is as simple as:
```java ```java
// Create a GitLabApi instance to communicate with your GitLab server // Create a GitLabApi instance to communicate with your GitLab server
GitLabApi gitLabApi = new GitLabApi("http://your.gitlab.serbver.com", "YOUR_PRIVATE_TOKEN"); GitLabApi gitLabApi = new GitLabApi("http://your.gitlab.server.com", "YOUR_PRIVATE_TOKEN");
// Get the list of projects your account has access to // Get the list of projects your account has access to
List<Project> projects = gitLabApi.getProjectApi().getProjects(); List<Project> projects = gitLabApi.getProjectApi().getProjects();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment