Class: Blacklight::SearchState::PivotFilterField::PivotValue

Inherits:
Object
  • Object
show all
Defined in:
lib/blacklight/search_state/pivot_filter_field.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value: nil, fq: {}, **_args) ⇒ PivotValue

rubocop:disable Naming/MethodParameterName



86
87
88
89
# File 'lib/blacklight/search_state/pivot_filter_field.rb', line 86

def initialize(value: nil, fq: {}, **_args) # rubocop:disable Naming/MethodParameterName
  @value = value
  @fq = fq
end

Instance Attribute Details

#fqObject

Returns the value of attribute fq.



81
82
83
# File 'lib/blacklight/search_state/pivot_filter_field.rb', line 81

def fq
  @fq
end

#valueObject

Returns the value of attribute value.



81
82
83
# File 'lib/blacklight/search_state/pivot_filter_field.rb', line 81

def value
  @value
end