Class: ConnectorsSdk::GitLab::Connector

Inherits:
Base::Connector show all
Defined in:
lib/connectors_sdk/gitlab/connector.rb

Constant Summary collapse

SERVICE_TYPE =
'gitlab'

Instance Method Summary collapse

Methods inherited from Base::Connector

#access_token, #authorization_uri, #compare_secrets, #connection_requires_redirect, #deleted, #download, #extract, #extractor, #permissions, #refresh, #service_type, #source_status

Instance Method Details

#configurable_fieldsObject



25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/connectors_sdk/gitlab/connector.rb', line 25

def configurable_fields
  [
    {
      'key' => 'api_token',
      'label' => 'API Token'
    },
    {
      'key' => 'base_url',
      'label' => 'Base URL'
    }
  ]
end

#display_nameObject



21
22
23
# File 'lib/connectors_sdk/gitlab/connector.rb', line 21

def display_name
  'GitLab Connector'
end