Class: Geoblacklight::HomepageFeatureFacetComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/geoblacklight/homepage_feature_facet_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(icon:, label:, facet_field:, response:) ⇒ HomepageFeatureFacetComponent

Returns a new instance of HomepageFeatureFacetComponent.



5
6
7
8
9
10
11
# File 'app/components/geoblacklight/homepage_feature_facet_component.rb', line 5

def initialize(icon:, label:, facet_field:, response:)
  @icon = icon
  @label = label
  @facet_field = facet_field
  @response = response
  super
end