Class: VCloudSdk::RightRecord

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_vcloud_sdk/right_record.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#categoryObject (readonly)

Returns the value of attribute category.



4
5
6
# File 'lib/ruby_vcloud_sdk/right_record.rb', line 4

def category
  @category
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/ruby_vcloud_sdk/right_record.rb', line 4

def name
  @name
end