Class: Fog::Compute::OpenStack::Services

Inherits:
OpenStack::Collection show all
Defined in:
lib/fog/openstack/models/compute/services.rb

Instance Attribute Summary

Attributes inherited from OpenStack::Collection

#response

Instance Method Summary collapse

Methods inherited from OpenStack::Collection

#destroy, #get, #load_response

Instance Method Details

#all(options = {}) ⇒ Object Also known as: summary



10
11
12
# File 'lib/fog/openstack/models/compute/services.rb', line 10

def all(options = {})
  load_response(service.list_services(options), 'services')
end

#details(options = {}) ⇒ Object



16
17
18
19
# File 'lib/fog/openstack/models/compute/services.rb', line 16

def details(options = {})
  Fog::Logger.deprecation('Calling OpenStack[:compute].services.details is deprecated, use .services.all')
  all(options)
end