Module: CIQuantum::Adapter

Defined in:
lib/ciquantum/adapter.rb,
lib/ciquantum/adapter/gitlab.rb,
lib/ciquantum/adapter/unfuddle.rb

Defined Under Namespace

Classes: Gitlab, Unfuddle

Class Method Summary collapse

Class Method Details

.from_config(config) ⇒ Object



8
9
10
11
12
13
# File 'lib/ciquantum/adapter.rb', line 8

def from_config config
  name = config.adapter.to_s
  puts config.config_string
  puts "Config: #{config}; Name: #{name}"
  const_get(name).from_config(config) unless name.empty?
end