Parent

Methods

Class/Module Index [+]

Quicksearch

RHEVM::Link

Attributes

client[RW]
href[RW]
id[RW]

Public Class Methods

new(client, id, href) click to toggle source
# File lib/deltacloud/drivers/rhevm/rhevm_client.rb, line 319
def initialize(client, id, href)
  @id, @href = id, href
  @client = client
end

Public Instance Methods

follow() click to toggle source
# File lib/deltacloud/drivers/rhevm/rhevm_client.rb, line 324
def follow
  xml = Client::parse_response(RHEVM::client(@client.base_url)[@href].get(@client.auth_header))
  object_class = ::RHEVM.const_get(xml.root.name.camelize)
  object_class.new(@client, (xml.root))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.