Class: NTEE::FlatDimensionValue

Inherits:
SearchDimensions::DimensionValue
  • Object
show all
Defined in:
lib/ntee/search_dimension.rb

Instance Method Summary collapse

Instance Method Details

#categoryObject



50
51
52
# File 'lib/ntee/search_dimension.rb', line 50

def category
  NTEE.category(value)
end

#labelObject



54
55
56
# File 'lib/ntee/search_dimension.rb', line 54

def label
  category ? category.name : super
end

#param_valueObject



58
59
60
# File 'lib/ntee/search_dimension.rb', line 58

def param_value
  category ? category.code : super
end