Class: Fog::Terremark::Ecloud::Real
- Inherits:
-
Object
- Object
- Fog::Terremark::Ecloud::Real
- Includes:
- Shared::Parser, Shared::Real
- Defined in:
- lib/fog/terremark/ecloud.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Real
constructor
A new instance of Real.
Methods included from Shared::Parser
Methods included from Shared::Real
#add_internet_service, #add_node_service, #addresses, #create_internet_service, #delete_internet_service, #delete_node_service, #delete_public_ip, #delete_vapp, #deploy_vapp, #get_catalog, #get_catalog_item, #get_internet_services, #get_network, #get_network_ips, #get_node_services, #get_organization, #get_organizations, #get_public_ip, #get_public_ips, #get_task, #get_tasks_list, #get_vapp, #get_vapp_template, #get_vdc, #instantiate_vapp_template, #networks, #power_off, #power_on, #power_reset, #power_shutdown, #servers, #tasks, #vdcs
Methods included from Shared::Common
Constructor Details
#initialize(options = {}) ⇒ Real
Returns a new instance of Real.
45 46 47 48 49 50 51 52 53 |
# File 'lib/fog/terremark/ecloud.rb', line 45 def initialize(={}) @terremark_password = [:terremark_ecloud_password] @terremark_username = [:terremark_ecloud_username] @host = [:host] || Fog::Terremark::Ecloud::Defaults::HOST @path = [:path] || Fog::Terremark::Ecloud::Defaults::PATH @port = [:port] || Fog::Terremark::Ecloud::Defaults::PORT @scheme = [:scheme] || Fog::Terremark::Ecloud::Defaults::SCHEME @connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}", [:persistent]) end |