Class: Miasma::Models::AutoScale::Group::Server
- Inherits:
-
Types::ThinModel
- Object
- Types::Data
- Types::ThinModel
- Miasma::Models::AutoScale::Group::Server
- Defined in:
- lib/miasma/models/auto_scale/group.rb
Instance Attribute Summary
Attributes inherited from Types::ThinModel
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
Constructor Details
This class inherits a constructor from Miasma::Types::ThinModel
Instance Method Details
#expand ⇒ Miasma::Models::Compute::Server
15 16 17 |
# File 'lib/miasma/models/auto_scale/group.rb', line 15 def api.api_for(:compute).servers.get(self.id || self.name) end |