Method: Geet::Gitlab::ApiInterface#initialize

Defined in:
lib/geet/gitlab/api_interface.rb

#initialize(api_token, repo_path:, upstream:) ⇒ ApiInterface

repo_path: “path/namespace”; required for the current GitLab operations. upstream: boolean; required for the current GitLab operations.



16
17
18
19
20
# File 'lib/geet/gitlab/api_interface.rb', line 16

def initialize(api_token, repo_path:, upstream:)
  @api_token = api_token
  @path_with_namespace = repo_path
  @upstream = upstream
end