Method: Fog::Compute::Ecloud::Server#edit
- Defined in:
- lib/rackspace-fog/ecloud/models/compute/server.rb
#edit(options = {}) ⇒ Object
153 154 155 156 157 158 |
# File 'lib/rackspace-fog/ecloud/models/compute/server.rb', line 153 def edit( = {}) data = connection.virtual_machine_edit(href, ).body if data[:type] == "application/vnd.tmrk.cloud.task" task = Fog::Compute::Ecloud::Tasks.new(:connection => connection, :href => data[:href])[0] end end |