Class: DPL::Provider::ExoScale

Inherits:
CloudControl show all
Defined in:
lib/dpl/provider/exoscale.rb

Instance Attribute Summary

Attributes inherited from CloudControl

#app_name, #dep_name

Attributes inherited from DPL::Provider

#context, #options

Instance Method Summary collapse

Methods inherited from CloudControl

#check_app, #check_auth, #push_app, #remove_key, #setup_key

Methods inherited from DPL::Provider

apt_get, #check_app, #cleanup, #commit_msg, context, #create_key, #deploy, #detect_encoding?, #encoding_for, #error, experimental, #log, #needs_key?, new, npm_g, #option, pip, requires, #run, #setup_git_credentials, #setup_git_ssh, #sha, shell, #uncleanup, #user_agent, #warn

Constructor Details

#initialize(context, options) ⇒ ExoScale

Returns a new instance of ExoScale.



8
9
10
11
12
13
14
15
# File 'lib/dpl/provider/exoscale.rb', line 8

def initialize(context, options)
  super
  @http = Net::HTTP.new('api.app.exo.io', 443)
  @http.use_ssl = true

  @tokenHttp = Net::HTTP.new('portal.exoscale.ch', 443)
  @tokenHttp.use_ssl = true
end