Class: GSA::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/bcms_google_mini_search/gsa.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options={})
  @engine = options[:engine]
  @query = options[:query]
  @front_end = options[:front_end]
  @collection = options[:collection]
end

Instance Attribute Details

#collectionObject (readonly)

Returns the value of attribute collection.



88
89
90
# File 'lib/bcms_google_mini_search/gsa.rb', line 88

def collection
  @collection
end

#engineObject (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_endObject (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

#queryObject (readonly)

Returns the value of attribute query.



88
89
90
# File 'lib/bcms_google_mini_search/gsa.rb', line 88

def query
  @query
end