Sha256: f532f725fc43d6f37d19bc472ad65d8a828f2f06ada5887393c7ea6a888752c9
Contents?: true
Size: 923 Bytes
Versions: 24
Compression:
Stored size: 923 Bytes
Contents
require 'fog/rackspace/models/orchestration/stack' module Fog module Rackspace class Orchestration class Stacks < Fog::Collection model Fog::Rackspace::Orchestration::Stack def all(options={}) data = service.list_stack_data(options).body['stacks'] load(data) end def get(name, id) data = service.show_stack_details(name, id).body['stack'] new(data) rescue Fog::Rackspace::Orchestration::NotFound nil end def adopt(options={}) service.create_stack(options) end def create(options={}) service.create_stack(options).body['stack'] end def preview(options={}) data = service.preview_stack(options).body['stack'] new(data) end def build_info service.build_info.body end end end end end
Version data entries
24 entries across 22 versions & 4 rubygems