Class: VCloudSdk::Xml::Org

Inherits:
Wrapper
  • Object
show all
Defined in:
lib/cloud/vcloud/xml/wrapper_classes/org.rb

Instance Method Summary collapse

Methods inherited from Wrapper

#==, #[], #[]=, #add_child, #attribute_with_ns, #content, #content=, #create_child, #create_qualified_name, #create_xpath_query, #doc_namespaces, #get_nodes, #href, #initialize, #name, #to_s, #type, #urn, #xpath

Constructor Details

This class inherits a constructor from VCloudSdk::Xml::Wrapper

Instance Method Details



13
14
15
16
17
18
# File 'lib/cloud/vcloud/xml/wrapper_classes/org.rb', line 13

def catalog_link(name)
  get_nodes("Link",
            { "type" => MEDIA_TYPE[:CATALOG],
              "name" => name},
            true).first
end


6
7
8
9
10
11
# File 'lib/cloud/vcloud/xml/wrapper_classes/org.rb', line 6

def vdc_link(name)
  get_nodes("Link",
            { "type" => MEDIA_TYPE[:VDC],
              "name" => name},
            true).first
end