Class: GitlabBranchRename::GitlabConfigure
- Inherits:
-
Object
- Object
- GitlabBranchRename::GitlabConfigure
- Defined in:
- lib/gitlab_branch_rename/gitlab_configure.rb
Class Method Summary collapse
Class Method Details
.configure(configuration) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/gitlab_branch_rename/gitlab_configure.rb', line 5 def self.configure(configuration) Gitlab.endpoint = configuration.endpoint Gitlab.private_token = configuration.token #Gitlab.http_proxy("proxyhost", 8888) #Gitlab.http_proxy("proxyhost", 8888, "proxyuser", "strongpasswordhere") #ENV["GITLAB_API_HTTPARTY_OPTIONS"] = "{read_timeout: 60}" end |