Class: CodengageViewComponents::SearchFormComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- CodengageViewComponents::SearchFormComponent
- Defined in:
- app/components/codengage_view_components/search_form_component.rb
Instance Method Summary collapse
-
#initialize(url:, form:, options: {}) ⇒ SearchFormComponent
constructor
A new instance of SearchFormComponent.
Constructor Details
#initialize(url:, form:, options: {}) ⇒ SearchFormComponent
Returns a new instance of SearchFormComponent.
5 6 7 8 9 |
# File 'app/components/codengage_view_components/search_form_component.rb', line 5 def initialize(url:, form:, options: {}) @url = url @form = form = end |