Method: Fog::Identity::OpenStack::Tenant#update

Defined in:
lib/fog/openstack/models/identity/tenant.rb

#update(attr = nil) ⇒ Object



34
35
36
37
38
39
# File 'lib/fog/openstack/models/identity/tenant.rb', line 34

def update(attr = nil)
  requires :id
  merge_attributes(
    service.update_tenant(self.id, attr || attributes).body['tenant'])
  self
end