Class: Dennis::RecordType::ContentAttributeOption
- Inherits:
-
Object
- Object
- Dennis::RecordType::ContentAttributeOption
- Defined in:
- lib/dennis/record_type.rb
Instance Method Summary collapse
-
#initialize(hash) ⇒ ContentAttributeOption
constructor
A new instance of ContentAttributeOption.
- #label ⇒ Object
- #value ⇒ Object
Constructor Details
#initialize(hash) ⇒ ContentAttributeOption
Returns a new instance of ContentAttributeOption.
74 75 76 |
# File 'lib/dennis/record_type.rb', line 74 def initialize(hash) @hash = hash end |
Instance Method Details
#label ⇒ Object
78 79 80 |
# File 'lib/dennis/record_type.rb', line 78 def label @hash['label'] end |
#value ⇒ Object
82 83 84 |
# File 'lib/dennis/record_type.rb', line 82 def value @hash['value'] end |