Class: MDT::Fetchers::Base
- Inherits:
-
Object
- Object
- MDT::Fetchers::Base
- Includes:
- Extensible
- Defined in:
- lib/mdt/fetchers/base.rb
Overview
A base class for fetchers
Instance Method Summary collapse
-
#fetch(key, options = {}) ⇒ Object
A method that defines how to fetch project contents to a deploy directory with fetchers.
Methods included from Extensible
Instance Method Details
#fetch(key, options = {}) ⇒ Object
A method that defines how to fetch project contents to a deploy directory with fetchers. Raises MDT::Errors::OverrideNeeded. Arguments:
-
key
- a key identifier of a particular fetcher -
options
- options for fetchers as a Hash
15 16 17 |
# File 'lib/mdt/fetchers/base.rb', line 15 def fetch(key, ={}) raise MDT::Errors::OverrideNeeded.new('fetch') end |