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

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

Instance Attribute Summary

Attributes inherited from Types::ThinModel

#api

Instance Method Summary collapse

Methods inherited from Types::ThinModel

#initialize, model, #model, #persisted?

Methods inherited from Types::Data

from_json, #from_json, #initialize, #to_json

Methods included from Utils::Lazy

included

Constructor Details

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

Instance Method Details

#expandMiasma::Models::Compute::Server



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