Class: OpConnect::Item::Section
- Inherits:
-
Object
- Object
- OpConnect::Item::Section
- Defined in:
- lib/op_connect/item/section.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Section
constructor
A new instance of Section.
Constructor Details
#initialize(options = {}) ⇒ Section
Returns a new instance of Section.
6 7 8 9 |
# File 'lib/op_connect/item/section.rb', line 6 def initialize( = {}) @id = ["id"] @label = ["label"] end |