lib/fog/openstack/models/orchestration/resources.rb in fog-1.31.0 vs lib/fog/openstack/models/orchestration/resources.rb in fog-1.32.0
- old
+ new
@@ -8,13 +8,15 @@
def types
service.list_resource_types.body['resource_types'].sort
end
- def all(stack, options={})
- data = service.list_resources(stack, options).body['resources']
+ def all(options = {}, deprecated_options = {})
+ data = service.list_resources(options, deprecated_options).body['resources']
load(data)
end
+
+ alias_method :summary, :all
def get(resource_name, stack=nil)
stack = self.first.stack if stack.nil?
data = service.show_resource_data(stack.stack_name, stack.id, resource_name).body['resource']
new(data)