Class: Miasma::Models::LoadBalancer::Balancer
- Inherits:
-
Types::Model
- Object
- Types::Data
- Types::Model
- Miasma::Models::LoadBalancer::Balancer
- Defined in:
- lib/miasma/models/load_balancer/balancer.rb
Overview
Abstract balancer
Defined Under Namespace
Classes: Address, HealthCheck, Listener, Server
Instance Attribute Summary (collapse)
-
- (Miasma::Types::Api) api
inherited
from Types::Model
readonly
Underlying service API.
Instance Method Summary (collapse)
-
- (Array<Address>) addresses
All addresses.
Constructor Details
This class inherits a constructor from Miasma::Types::Model
Instance Attribute Details
- (Miasma::Types::Api) api (readonly) Originally defined in class Types::Model
Returns underlying service API
Instance Method Details
- (Array<Address>) addresses
Returns all addresses
48 49 50 |
# File 'lib/miasma/models/load_balancer/balancer.rb', line 48 def addresses public_addresses + private_addresses end |