Class: VCloudSdk::Xml::MetadataValue
- Defined in:
- lib/cloud/vcloud/xml/wrapper_classes/metadata_value.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, #error, #get_nodes, #href, #href_id, #initialize, #name, #name=, #to_s, #type, #urn, #xpath
Constructor Details
This class inherits a constructor from VCloudSdk::Xml::Wrapper
Instance Method Details
#value ⇒ Object
5 6 7 |
# File 'lib/cloud/vcloud/xml/wrapper_classes/metadata_value.rb', line 5 def value get_nodes("Value").first.content end |
#value=(v) ⇒ Object
9 10 11 |
# File 'lib/cloud/vcloud/xml/wrapper_classes/metadata_value.rb', line 9 def value=(v) get_nodes("Value").first.content = v end |