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



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

def save
  update
end

#updateObject



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

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

  self
end