Class: Gitlab::Release::ApiClient

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/release/api_client.rb

Direct Known Subclasses

Changelog::Generator, Manager

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ ApiClient

Returns a new instance of ApiClient.



6
7
8
9
10
11
# File 'lib/gitlab/release/api_client.rb', line 6

def initialize(options = {})
  @client = Gitlab.client(
      endpoint: options[:endpoint],
      private_token: options[:private_token]
  )
end