Module: Seagull::DeploymentStrategies

Defined in:
lib/seagull/deployment_strategies.rb,
lib/seagull/deployment_strategies/file.rb,
lib/seagull/deployment_strategies/hockey_app.rb,
lib/seagull/deployment_strategies/crashlytics.rb

Defined Under Namespace

Classes: Crashlytics, DeploymentStrategy, File, HockeyApp

Class Method Summary collapse

Class Method Details

.build(strategy_name, configuration) ⇒ Object


9
10
11
# File 'lib/seagull/deployment_strategies.rb', line 9

def self.build(strategy_name, configuration)
  strategies[strategy_name.to_sym].new(configuration)
end

.valid_strategy?(strategy_name) ⇒ Boolean

Returns:

  • (Boolean)

5
6
7
# File 'lib/seagull/deployment_strategies.rb', line 5

def self.valid_strategy?(strategy_name)
  strategies.keys.include?(strategy_name.to_sym)
end