Class: Dennis::RecordType::ContentAttributeOption

Inherits:
Object
  • Object
show all
Defined in:
lib/dennis/record_type.rb

Instance Method Summary collapse

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

#labelObject



78
79
80
# File 'lib/dennis/record_type.rb', line 78

def label
  @hash['label']
end

#valueObject



82
83
84
# File 'lib/dennis/record_type.rb', line 82

def value
  @hash['value']
end