Class: GDK::Services::GitlabAiGateway

Inherits:
Base
  • Object
show all
Defined in:
lib/gdk/services/gitlab_ai_gateway.rb

Instance Method Summary collapse

Methods inherited from Base

#env, #initialize, #procfile_entry, #ready_message

Constructor Details

This class inherits a constructor from GDK::Services::Base

Instance Method Details

#commandObject



10
11
12
# File 'lib/gdk/services/gitlab_ai_gateway.rb', line 10

def command
  config.gitlab_ai_gateway.__service_command
end

#enabled?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/gdk/services/gitlab_ai_gateway.rb', line 14

def enabled?
  config.gitlab_ai_gateway.enabled?
end

#nameObject



6
7
8
# File 'lib/gdk/services/gitlab_ai_gateway.rb', line 6

def name
  'gitlab-ai-gateway'
end