Class: Miasma::Models::Orchestration::Stacks
- Inherits:
-
Types::Collection
- Object
- Types::Collection
- Miasma::Models::Orchestration::Stacks
- Defined in:
- lib/miasma/models/orchestration/stacks.rb
Overview
Abstract stack collection
Instance Attribute Summary
Attributes inherited from Types::Collection
Instance Method Summary collapse
-
#filter(options = {}) ⇒ Array<Stack>
Return stacks matching given filter.
-
#model ⇒ Stack
Collection items class.
Methods inherited from Types::Collection
#all, #build, #from_json, #get, #initialize, #reload, #to_json
Methods included from Utils::Memoization
#_memo, #clear_memoizations!, #memoize, #unmemoize
Constructor Details
This class inherits a constructor from Miasma::Types::Collection
Instance Method Details
#filter(options = {}) ⇒ Array<Stack>
Return stacks matching given filter
15 16 17 |
# File 'lib/miasma/models/orchestration/stacks.rb', line 15 def filter(={}) raise NotImplementedError end |
#model ⇒ Stack
Returns collection items class.
20 21 22 |
# File 'lib/miasma/models/orchestration/stacks.rb', line 20 def model Stack end |