Class: GSA::SuggestedQueries::Suggestion
- Inherits:
-
Object
- Object
- GSA::SuggestedQueries::Suggestion
- Defined in:
- lib/bcms_google_mini_search/gsa.rb
Overview
Since generating are handled in the view, this might no longer be necessary a separate class, and could probably be converted into a String.
Instance Attribute Summary collapse
-
#query ⇒ Object
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(query) ⇒ Suggestion
constructor
A new instance of Suggestion.
Constructor Details
#initialize(query) ⇒ Suggestion
Returns a new instance of Suggestion.
77 78 79 |
# File 'lib/bcms_google_mini_search/gsa.rb', line 77 def initialize(query) self.query = query end |
Instance Attribute Details
#query ⇒ Object
Returns the value of attribute query.
75 76 77 |
# File 'lib/bcms_google_mini_search/gsa.rb', line 75 def query @query end |