# File lib/fog/rackspace/models/orchestration/resources.rb, line 18 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) rescue Fog::Rackspace::Orchestration::NotFound nil end