Module: Smartdc::Default

Defined in:
lib/smartdc/default.rb

Constant Summary collapse

URL =
'https://us-east-1.api.joyentcloud.com'.freeze
VERSION =
'~7.0'.freeze
SSL_VERIFY =
true.freeze
RSA_PATH =
'~/.ssh'.freeze
MIDDLEWARE =
Faraday::RackBuilder.new do |builder|
  builder.adapter Faraday.default_adapter
end

Class Method Summary collapse

Class Method Details

.middlewareObject



30
31
32
# File 'lib/smartdc/default.rb', line 30

def middleware
  MIDDLEWARE
end

.rsa_pathObject



26
27
28
# File 'lib/smartdc/default.rb', line 26

def rsa_path
  RSA_PATH
end

.ssl_verifyObject



22
23
24
# File 'lib/smartdc/default.rb', line 22

def ssl_verify
  SSL_VERIFY
end

.urlObject



14
15
16
# File 'lib/smartdc/default.rb', line 14

def url
  URL
end

.versionObject



18
19
20
# File 'lib/smartdc/default.rb', line 18

def version
  VERSION
end