VCSDownloadStrategy: document acceptable ref types

This commit is contained in:
Jack Nagel 2014-02-14 15:31:29 -05:00
parent a25152b5a1
commit 41e3b2cad0

View File

@ -39,6 +39,8 @@ class AbstractDownloadStrategy
end
class VCSDownloadStrategy < AbstractDownloadStrategy
REF_TYPES = [:branch, :revision, :revisions, :tag].freeze
def initialize name, resource
super
@ref_type, @ref = destructure_spec_hash(resource.specs)