-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
92 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,13 @@ module CircleCi | |
# | ||
# Config class used internally. | ||
# Configure API calls using AlPapi.configure | ||
|
||
class Config | ||
|
||
VERSION = 'v1' | ||
DEFAULT_HOST = "https://circleci.com/api/#{VERSION}" | ||
VERSION = 'v1'.freeze | ||
DEFAULT_HOST = "https://circleci.com/api/#{VERSION}".freeze | ||
DEFAULT_PORT = 80 | ||
|
||
attr_accessor :token, :host, :port | ||
attr_accessor :token | ||
attr_reader :host, :port | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mtchavez
Author
Owner
|
||
|
||
## | ||
# | ||
|
@@ -20,7 +19,5 @@ def initialize | |
@host = DEFAULT_HOST | ||
@port = DEFAULT_PORT | ||
end | ||
|
||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
This broke configurability of API host added in #10