Method: DPL::Provider::Scalingo#initialize

Defined in:
lib/dpl/provider/scalingo.rb

#initialize(context, options) ⇒ Scalingo

Returns a new instance of Scalingo.



24
25
26
27
28
29
30
31
32
# File 'lib/dpl/provider/scalingo.rb', line 24

def initialize(context, options)
  super
  @options = options
  @remote = options[:remote] || 'scalingo-dpl'
  @branch = options[:branch] || 'master'
  @region = options[:region] || 'agora-fr1'
  @timeout = options[:timeout] || '60'
  @debug = !options[:debug].nil?
end