Class: Fog::Vcloud::Terremark::Vcloud::Real

Inherits:
Real
  • Object
show all
Defined in:
lib/fog/vcloud/terremark/vcloud.rb,
lib/fog/vcloud/terremark/vcloud/requests/get_vdc.rb

Instance Attribute Summary

Attributes included from Shared

#versions_uri

Instance Method Summary collapse

Methods inherited from Real

#default_organization_uri, #login, #reload, #request

Methods included from Generators

#basic_request, #unauthenticated_basic_request

Methods included from Shared

#default_organization_uri, #do_login, #ensure_unparsed, #supported_versions, #xmlns

Constructor Details

#initialize(options = {}) ⇒ Real

Returns a new instance of Real.



10
11
12
13
14
15
16
# File 'lib/fog/vcloud/terremark/vcloud.rb', line 10

def initialize(options = {})
  location = caller.first
  warning = "[yellow][WARN] Fog::Vcloud::Terremark::Vcloud is deprecated, to be replaced with Vcloud 1.0 someday/maybe[/]"
  warning << " [light_black](" << location << ")[/] "
  Formatador.display_line(warning)
  super
end

Instance Method Details

#supporting_versionsObject



18
19
20
# File 'lib/fog/vcloud/terremark/vcloud.rb', line 18

def supporting_versions
  ["0.8", "0.8a-ext1.6"]
end