Class: Rackspace::CloudServers::Flavor
- Defined in:
- lib/rackspace/cloud_servers/flavor.rb
Instance Attribute Summary collapse
-
#disk ⇒ Object
Returns the value of attribute disk.
-
#name ⇒ Object
Returns the value of attribute name.
-
#ram ⇒ Object
Returns the value of attribute ram.
Attributes inherited from Base
Instance Method Summary collapse
-
#destroy ⇒ Object
Deletion isn’t allowed for flavors.
-
#save ⇒ Object
Saving (create/update) isn’t allowed for flavors.
Methods inherited from Base
all, #attributes_for_update, count, #create, create, find, first, #initialize, last, #new_record?, #reload, resource, resource_url, #set_attributes, #update
Constructor Details
This class inherits a constructor from Rackspace::CloudServers::Base
Instance Attribute Details
#disk ⇒ Object
Returns the value of attribute disk.
2 3 4 |
# File 'lib/rackspace/cloud_servers/flavor.rb', line 2 def disk @disk end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/rackspace/cloud_servers/flavor.rb', line 2 def name @name end |
#ram ⇒ Object
Returns the value of attribute ram.
2 3 4 |
# File 'lib/rackspace/cloud_servers/flavor.rb', line 2 def ram @ram end |
Instance Method Details
#destroy ⇒ Object
Deletion isn’t allowed for flavors
10 11 12 |
# File 'lib/rackspace/cloud_servers/flavor.rb', line 10 def destroy false end |
#save ⇒ Object
Saving (create/update) isn’t allowed for flavors
5 6 7 |
# File 'lib/rackspace/cloud_servers/flavor.rb', line 5 def save false end |