Class: Miasma::Models::AutoScale::Group::Server

Inherits:
Types::ThinModel show all
Defined in:
lib/miasma/models/auto_scale/group.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

This class inherits a constructor from Miasma::Types::ThinModel

Instance Attribute Details

- (Miasma::Types::Api) api (readonly) Originally defined in class Types::ThinModel

Returns service API

Returns:

Instance Method Details

- (Miasma::Models::Compute::Server) expand



15
16
17
# File 'lib/miasma/models/auto_scale/group.rb', line 15

def expand
  api.api_for(:compute).servers.get(self.id || self.name)
end