# File lib/fog/rackspace/models/orchestration/stack.rb, line 38 def abandon service.abandon_stack(self) end
# File lib/fog/rackspace/models/orchestration/stack.rb, line 42 def delete service.delete_stack(self) end
# File lib/fog/rackspace/models/orchestration/stack.rb, line 12 def details service.show_stack_details(self.stack_name, self.id).body['stack'] rescue Fog::Rackspace::Orchestration::NotFound nil end
# File lib/fog/rackspace/models/orchestration/stack.rb, line 22 def events(options={}) @events ||= service.events.all(self, options) end
# File lib/fog/rackspace/models/orchestration/stack.rb, line 18 def resources @resources ||= service.resources.all(self) end
# File lib/fog/rackspace/models/orchestration/stack.rb, line 30 def save(options={}) if persisted? service.update_stack(self, options).body['stack'] else service.stacks.create(options) end end
# File lib/fog/rackspace/models/orchestration/stack.rb, line 26 def template @template ||= service.templates.get(self) end