Class: Cyclid::API::Plugins::Source

Inherits:
Base
  • Object
show all
Defined in:
app/cyclid/plugins/source.rb

Overview

Base class for Source plugins

Direct Known Subclasses

Git

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

author, config?, config_schema, default_config, get_config, homepage, license, metadata, register_plugin, set_config, update_config, version

Class Method Details

.human_nameObject

Return the ‘human’ name for the plugin type



25
26
27
# File 'app/cyclid/plugins/source.rb', line 25

def self.human_name
  'source'
end

Instance Method Details

#checkout(_transport, _ctx, _sources = []) ⇒ Object

Process the source to produce a copy of the remote code in a directory in the working directory



31
32
33
# File 'app/cyclid/plugins/source.rb', line 31

def checkout(_transport, _ctx, _sources = [])
  false
end