Class: VCloudSdk::RightRecord
- Inherits:
-
Object
- Object
- VCloudSdk::RightRecord
- Defined in:
- lib/ruby_vcloud_sdk/right_record.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(right_record_xml_obj) ⇒ RightRecord
constructor
A new instance of RightRecord.
Constructor Details
#initialize(right_record_xml_obj) ⇒ RightRecord
Returns a new instance of RightRecord.
6 7 8 9 10 |
# File 'lib/ruby_vcloud_sdk/right_record.rb', line 6 def initialize(right_record_xml_obj) @right_record_xml_obj = right_record_xml_obj @name = right_record_xml_obj[:name] @category = right_record_xml_obj[:category] end |
Instance Attribute Details
#category ⇒ Object (readonly)
Returns the value of attribute category.
4 5 6 |
# File 'lib/ruby_vcloud_sdk/right_record.rb', line 4 def category @category end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/ruby_vcloud_sdk/right_record.rb', line 4 def name @name end |