Class: Fog::Compute::CloudSigma::Profile

Inherits:
Fog::CloudSigma::CloudsigmaModel show all
Defined in:
lib/fog/cloudsigma/models/profile.rb

Instance Method Summary collapse

Methods inherited from Fog::CloudSigma::CloudsigmaModel

model_attribute, model_attribute_array

Instance Method Details

#saveObject



35
36
37
# File 'lib/fog/cloudsigma/models/profile.rb', line 35

def save
  update
end

#updateObject



39
40
41
42
43
44
# File 'lib/fog/cloudsigma/models/profile.rb', line 39

def update
  response = service.update_profile(attributes)
  self.attribute.merge!(response.body)

  self
end