Class: Fog::Compute::Ecloud::AdminOrganizations

Inherits:
Ecloud::Collection show all
Defined in:
lib/fog/ecloud/models/compute/admin_organizations.rb

Instance Method Summary collapse

Methods inherited from Ecloud::Collection

#check_href!, #load

Instance Method Details

#get(uri) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/fog/ecloud/models/compute/admin_organizations.rb', line 11

def get(uri)
  if data = service.get_admin_organization(uri)
    new(data.body)
  end
rescue Fog::Errors::NotFound
  nil
end