Class: Miasma::Models::LoadBalancer::Balancers

Inherits:
Types::Collection show all
Defined in:
lib/miasma/models/load_balancer/balancers.rb

Overview

Abstract load balancer collection

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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

Returns:

  • (Miasma::Api)

    underlying service API

Instance Method Details

- (Array<Balancer>) filter(options = {})

Return load balancers matching given filter

Parameters:

  • options (Hash) (defaults to: {})

    filter options

Returns:

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/miasma/models/load_balancer/balancers.rb', line 14

def filter(options={})
  raise NotImplementedError
end

- (Balancer) model

Returns collection item class

Returns:



19
20
21
# File 'lib/miasma/models/load_balancer/balancers.rb', line 19

def model
  Balancer
end