Method: Fog::ContainerInfra::HuaweiCloud::Bay#update

Defined in:
lib/fog/container_infra/huaweicloud/models/bay.rb

#updateObject



31
32
33
34
35
36
37
# File 'lib/fog/container_infra/huaweicloud/models/bay.rb', line 31

def update
  requires :uuid, :name, :baymodel_id
  attrs = attributes.select{|k,_| allowed_update_attributes.include? k}
  attrs = convert_update_params(attrs)
  merge_attributes(service.update_bay(uuid, attrs).body)
  self
end