Method: Fog::Compute::Rackspace::Server#initialize
- Defined in:
- lib/fog/rackspace/models/compute/server.rb
#initialize(attributes = {}) ⇒ Server
Returns a new instance of Server.
23 24 25 26 27 |
# File 'lib/fog/rackspace/models/compute/server.rb', line 23 def initialize(attributes={}) self.flavor_id ||= 1 # 256 server self.image_id ||= 49 # Ubuntu 10.04 LTS 64bit super end |