Module: Google::CustomSearch

Defined in:
lib/google/custom_search/query.rb,
lib/google/custom_search/config.rb,
lib/google/custom_search/xml/results.rb,
lib/google/custom_search/xml/service.rb,
lib/google/custom_search/json/results.rb,
lib/google/custom_search/json/service.rb

Defined Under Namespace

Modules: JSON, XML Classes: BadRequestError, Config, ConfigurationError, Query

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



40
41
42
# File 'lib/google/custom_search/config.rb', line 40

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



42
43
44
# File 'lib/google/custom_search/config.rb', line 42

def configure
  yield config
end