Method: Fog::Compute::XenServer::VBD#save
- Defined in:
- lib/fog/xenserver/models/compute/vbd.rb
permalink #save ⇒ Object
[View source]
51 52 53 54 55 |
# File 'lib/fog/xenserver/models/compute/vbd.rb', line 51 def save requires :vdi, :server ref = connection.create_vbd attributes[:server], attributes[:vdi], attributes merge_attributes connection.vbds.get(ref).attributes end |