Sha256: d8a25e90e922bf87d15a328510967699351657007e01a46e66e1186212123c63
Contents?: true
Size: 862 Bytes
Versions: 18
Compression:
Stored size: 862 Bytes
Contents
require 'miasma' module Miasma module Models class Orchestration # Abstract stack collection class Stacks < Types::Collection # Return stacks matching given filter # # @param options [Hash] filter options # @option options [String] :state current stack state # @return [Array<Stack>] def filter(options={}) raise NotImplementedError end # @return [Stack] collection items class def model Stack end protected # @return [Array<Stack>] def perform_population api.stack_all end # @return [Stack] def perform_get(ident) if(api.respond_to?(:stack_get)) api.stack_get(ident) else super end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems