Method: Fog::Compute::CloudSigma::VLAN#update

Defined in:
lib/fog/cloudsigma/models/vlan.rb

#updateObject 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