class Fog::Terremark::Vcloud

Constants

HOST
PATH
PORT
SCHEME

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method
# File lib/fog/terremark/vcloud.rb, line 12
def self.new(options = {})
  Fog::Logger.deprecation("Fog::Terremark::Vcloud is deprecated, to be replaced with Vcloud 1.0 someday/maybe [light_black](#{caller.first})[/]")
  super
end

Public Instance Methods

default_ssh_key() click to toggle source
# File lib/fog/terremark/vcloud.rb, line 17
def default_ssh_key
  if default_ssh_key
    @default_ssh_key ||= begin
      keys = get_keys_list(default_organization_id).body["Keys"]
      keys.find { |item| item["IsDefault"] == "true" }
    end
  end
end