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 (collapse)
-
- (Miasma::Api) api
inherited
from Types::Collection
readonly
Underlying service API.
Instance Method Summary (collapse)
-
- (Array<Balancer>) filter(options = {})
Return load balancers matching given filter.
-
- (Balancer) model
Collection item class.
Constructor Details
This class inherits a constructor from Miasma::Types::Collection
Instance Attribute Details
- (Miasma::Api) api (readonly) Originally defined in class Types::Collection
Returns underlying service API
Instance Method Details
- (Array<Balancer>) filter(options = {})
Return load balancers matching given filter
14 15 16 |
# File 'lib/miasma/models/load_balancer/balancers.rb', line 14 def filter(={}) raise NotImplementedError end |
- (Balancer) model
Returns collection item class
19 20 21 |
# File 'lib/miasma/models/load_balancer/balancers.rb', line 19 def model Balancer end |