Module: ReleaseManager::VCSManager
Defined Under Namespace
Classes: GitlabAdapter, VcsAdapter
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Attribute Details
#vcs ⇒ Object
Returns the value of attribute vcs.
6
7
8
|
# File 'lib/release_manager/vcs_manager.rb', line 6
def vcs
@vcs
end
|
Class Method Details
.adapter_instance(type) ⇒ Object
24
25
26
27
28
29
30
31
|
# File 'lib/release_manager/vcs_manager.rb', line 24
def self.adapter_instance(type)
case type
when :gitlab
ReleaseManager::VCSManager::GitlabAdapter.create
else
default_instance
end
end
|
.adapter_types ⇒ Object
20
21
22
|
# File 'lib/release_manager/vcs_manager.rb', line 20
def self.adapter_types
[:gitlab]
end
|
.default_instance ⇒ Object
16
17
18
|
# File 'lib/release_manager/vcs_manager.rb', line 16
def self.default_instance
ReleaseManager::VCSManager::GitlabAdapter.create
end
|