Class: Fog::Vcloud::Compute::Organizations
- Inherits:
-
Fog::Vcloud::Collection
- Object
- Collection
- Fog::Vcloud::Collection
- Fog::Vcloud::Compute::Organizations
- Defined in:
- lib/fog/vcloud/models/compute/organizations.rb
Instance Method Summary collapse
Methods inherited from Fog::Vcloud::Collection
Instance Method Details
#all ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/vcloud/models/compute/organizations.rb', line 11 def all raw_orgs = if service.version == '1.0' service.login else service.request(service.basic_request_params("#{service.base_path_url}/org/")) end data = raw_orgs.body[:Org] load(data) end |