class GitlabBranchRename::GitlabConfigure
Public Class Methods
configure(configuration)
click to toggle source
# 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