Class: GSA::Query
- Inherits:
-
Object
- Object
- GSA::Query
- Defined in:
- lib/bcms_google_mini_search/gsa.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
readonly
Returns the value of attribute collection.
-
#engine ⇒ Object
readonly
Returns the value of attribute engine.
-
#front_end ⇒ Object
readonly
Returns the value of attribute front_end.
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(options = {}) ⇒ Query
Returns a new instance of Query.
90 91 92 93 94 95 |
# File 'lib/bcms_google_mini_search/gsa.rb', line 90 def initialize(={}) @engine = [:engine] @query = [:query] @front_end = [:front_end] @collection = [:collection] end |
Instance Attribute Details
#collection ⇒ Object (readonly)
Returns the value of attribute collection.
88 89 90 |
# File 'lib/bcms_google_mini_search/gsa.rb', line 88 def collection @collection end |
#engine ⇒ Object (readonly)
Returns the value of attribute engine.
88 89 90 |
# File 'lib/bcms_google_mini_search/gsa.rb', line 88 def engine @engine end |
#front_end ⇒ Object (readonly)
Returns the value of attribute front_end.
88 89 90 |
# File 'lib/bcms_google_mini_search/gsa.rb', line 88 def front_end @front_end end |
#query ⇒ Object (readonly)
Returns the value of attribute query.
88 89 90 |
# File 'lib/bcms_google_mini_search/gsa.rb', line 88 def query @query end |