Module: Skylight::Util::Deploy Private
- Defined in:
- lib/skylight/util/deploy.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: DefaultDeploy, EmptyDeploy, GitDeploy, HerokuDeploy
Constant Summary collapse
- DEPLOY_TYPES =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
[DefaultDeploy, HerokuDeploy, GitDeploy].freeze
Class Method Summary collapse
- .build(config) ⇒ Object private
Class Method Details
.build(config) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 10 11 12 13 |
# File 'lib/skylight/util/deploy.rb', line 7 def self.build(config) DEPLOY_TYPES.each do |type| deploy = type.new(config) return deploy if deploy.id end nil end |