class MDT::Fetchers::Base

A base class for fetchers

Public Instance Methods

fetch(key, options ={}) click to toggle source

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

   # File lib/mdt/fetchers/base.rb
15 def fetch(key, options ={})
16   raise MDT::Errors::OverrideNeeded.new('fetch')
17 end