Class: Miasma::Models::AutoScale::Groups

Inherits:
Types::Collection show all
Defined in:
lib/miasma/models/auto_scale/groups.rb

Overview

Abstract auto scale group 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<Group>) filter(options = {})

Return auto scale groups matching given filter

Parameters:

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

    filter options

Returns:

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/miasma/models/auto_scale/groups.rb', line 14

def filter(options={})
  raise NotImplementedError
end

- (Group) model

Returns collection item class

Returns:

  • (Group)

    collection item class



19
20
21
# File 'lib/miasma/models/auto_scale/groups.rb', line 19

def model
  Group
end