Class: GitlabToDoap

Inherits:
Object
  • Object
show all
Includes:
Utilities, XML
Defined in:
lib/gitlab-to-doap/version.rb,
lib/gitlab-to-doap.rb

Overview

SPDX-License-Identifier: Apache-2.0

Defined Under Namespace

Modules: Utilities, XML Classes: Command, Error

Constant Summary collapse

VERSION =
"0.2.0"

Instance Attribute Summary

Attributes included from Utilities

#gitlab_api_token, #gitlab_endpoint

Instance Method Summary collapse

Methods included from XML

#doap_xml

Methods included from Utilities

#gitlab, #gitlab_project, #strip_markdown

Constructor Details

#initialize(gitlab_endpoint, gitlab_token) ⇒ GitlabToDoap

Returns a new instance of GitlabToDoap.



14
15
16
17
# File 'lib/gitlab-to-doap.rb', line 14

def initialize(gitlab_endpoint, gitlab_token)
  @gitlab_endpoint = gitlab_endpoint
  @gitlab_api_token = gitlab_token
end