Class: Fog::Terremark::Vcloud::Mock
- Inherits:
-
Object
- Object
- Fog::Terremark::Vcloud::Mock
- Includes:
- Shared::Mock, Shared::Parser
- Defined in:
- lib/fog/terremark/vcloud.rb
Instance Method Summary collapse
-
#initialize(option = {}) ⇒ Mock
constructor
A new instance of Mock.
Methods included from Shared::Parser
Methods included from Shared::Mock
#addresses, error_headers, #get_network, #get_organization, #get_organizations, #get_public_ips, #get_vdc, headers, mock_data, #networks, #servers, status, #tasks, unathorized_status, #vdcs
Methods included from Shared::Common
Constructor Details
#initialize(option = {}) ⇒ Mock
Returns a new instance of Mock.
104 105 106 107 108 109 110 |
# File 'lib/fog/terremark/vcloud.rb', line 104 def initialize(option = {}) super @base_url = Fog::Terremark::Vcloud::Defaults::SCHEME + "://" + Fog::Terremark::Vcloud::Defaults::HOST + Fog::Terremark::Vcloud::Defaults::PATH @data = self.class.data[:terremark_vcloud_username] end |