Class: Fog::Compute::CloudSigma::VLAN
- Inherits:
-
Fog::CloudSigma::CloudsigmaModel
- Object
- Model
- Fog::CloudSigma::CloudsigmaModel
- Fog::Compute::CloudSigma::VLAN
- Defined in:
- lib/fog/cloudsigma/models/vlan.rb
Instance Method Summary collapse
- #update ⇒ Object (also: #save)
Methods inherited from Fog::CloudSigma::CloudsigmaModel
model_attribute, model_attribute_array
Instance Method Details
#update ⇒ Object Also known as: save
15 16 17 18 19 20 21 22 23 |
# File 'lib/fog/cloudsigma/models/vlan.rb', line 15 def update requires :identity data = attributes response = service.update_vlan(identity, data) new_attributes = response.body merge_attributes(new_attributes) end |