Class: AblyUi::Core::MeganavSearchSuggestions
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AblyUi::Core::MeganavSearchSuggestions
- Includes:
- Util
- Defined in:
- lib/ably_ui/core/meganav_search_suggestions/meganav_search_suggestions.rb
Constant Summary
Constants included from Util
Instance Attribute Summary collapse
-
#url_base ⇒ Object
readonly
Returns the value of attribute url_base.
Instance Method Summary collapse
- #display_support_link? ⇒ Boolean
-
#initialize(url_base:, display_support_link: true) ⇒ MeganavSearchSuggestions
constructor
A new instance of MeganavSearchSuggestions.
Methods included from Util
#abs_url, #append_random_postfix
Constructor Details
#initialize(url_base:, display_support_link: true) ⇒ MeganavSearchSuggestions
Returns a new instance of MeganavSearchSuggestions.
8 9 10 11 |
# File 'lib/ably_ui/core/meganav_search_suggestions/meganav_search_suggestions.rb', line 8 def initialize(url_base:, display_support_link: true) @url_base = url_base @display_support_link = display_support_link end |
Instance Attribute Details
#url_base ⇒ Object (readonly)
Returns the value of attribute url_base.
6 7 8 |
# File 'lib/ably_ui/core/meganav_search_suggestions/meganav_search_suggestions.rb', line 6 def url_base @url_base end |
Instance Method Details
#display_support_link? ⇒ Boolean
13 14 15 |
# File 'lib/ably_ui/core/meganav_search_suggestions/meganav_search_suggestions.rb', line 13 def display_support_link? @display_support_link end |