Class: Rackspace::CloudServers::Image

Inherits:
Base
  • Object
show all
Defined in:
lib/rackspace/cloud_servers/image.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#id

Instance Method Summary collapse

Methods inherited from Base

all, #attributes_for_update, count, #create, create, #destroy, find, first, #initialize, last, #new_record?, #reload, resource, resource_url, #save, #set_attributes

Constructor Details

This class inherits a constructor from Rackspace::CloudServers::Base

Instance Attribute Details

#createdObject

Returns the value of attribute created.



2
3
4
# File 'lib/rackspace/cloud_servers/image.rb', line 2

def created
  @created
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/rackspace/cloud_servers/image.rb', line 2

def name
  @name
end

#progressObject

Returns the value of attribute progress.



2
3
4
# File 'lib/rackspace/cloud_servers/image.rb', line 2

def progress
  @progress
end

#serverIdObject

Returns the value of attribute serverId.



2
3
4
# File 'lib/rackspace/cloud_servers/image.rb', line 2

def serverId
  @serverId
end

#statusObject

Returns the value of attribute status.



2
3
4
# File 'lib/rackspace/cloud_servers/image.rb', line 2

def status
  @status
end

#updatedObject

Returns the value of attribute updated.



2
3
4
# File 'lib/rackspace/cloud_servers/image.rb', line 2

def updated
  @updated
end

Instance Method Details

#updateObject

Updating isn’t allowed for images



5
6
7
# File 'lib/rackspace/cloud_servers/image.rb', line 5

def update
  false
end