Module: RGSearch

Defined in:
lib/rgsearch.rb,
lib/rgsearch/result.rb,
lib/rgsearch/search.rb,
lib/rgsearch/request.rb,
lib/rgsearch/unicode.rb,
lib/rgsearch/exception.rb

Defined Under Namespace

Classes: RGSearchException, Request, Result, Search, Unicode

Constant Summary collapse

API_VERSION =
"1.0"
API_URL =
"http://ajax.googleapis.com/ajax/services/search"

Class Method Summary collapse

Class Method Details

.keyObject

Returns the value of attribute key.



13
14
15
# File 'lib/rgsearch.rb', line 13

def key
  @key
end

.key=(value) ⇒ Object

Sets the attribute key

Parameters:

  • value

    the value to set the attribute key to.



13
14
15
# File 'lib/rgsearch.rb', line 13

def key=(value)
  @key = value
end