Class: Miasma::Models::LoadBalancer::Balancers
- Inherits:
-
Types::Collection
- Object
- Types::Collection
- Miasma::Models::LoadBalancer::Balancers
- Defined in:
- lib/miasma/models/load_balancer/balancers.rb
Overview
Abstract load balancer collection
Instance Attribute Summary
Attributes inherited from Types::Collection
Instance Method Summary collapse
-
#filter(options = {}) ⇒ Array<Balancer>
Return load balancers matching given filter.
-
#model ⇒ Balancer
Collection item 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<Balancer>
Return load balancers matching given filter
14 15 16 |
# File 'lib/miasma/models/load_balancer/balancers.rb', line 14 def filter(={}) raise NotImplementedError end |