Class: GOCD::PIPELINE_CONFIG::PipelineConfigRepository
- Inherits:
-
Object
- Object
- GOCD::PIPELINE_CONFIG::PipelineConfigRepository
- Defined in:
- lib/gocd/pipeline_config/repository/pipeline_config_repository.rb
Class Method Summary collapse
Class Method Details
.fetch_config ⇒ Object
6 7 8 |
# File 'lib/gocd/pipeline_config/repository/pipeline_config_repository.rb', line 6 def self.fetch_config CobraVsMongoose.xml_to_hash(`curl -s -k -u #{GOCD.credentials.curl_credentials} #{GOCD.server.url}/go/api/admin/config/current.xml`) end |