Class: GoogleSuggest::Configuration
- Inherits:
-
Object
- Object
- GoogleSuggest::Configuration
- Defined in:
- lib/google_suggest/configuration.rb
Instance Attribute Summary collapse
-
#home_language ⇒ Object
Returns the value of attribute home_language.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
-
#region ⇒ Object
Returns the value of attribute region.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/google_suggest/configuration.rb', line 7 def initialize @home_language = 'en' @region = nil end |
Instance Attribute Details
#home_language ⇒ Object
Returns the value of attribute home_language.
3 4 5 |
# File 'lib/google_suggest/configuration.rb', line 3 def home_language @home_language end |
#proxy ⇒ Object
Returns the value of attribute proxy.
4 5 6 |
# File 'lib/google_suggest/configuration.rb', line 4 def proxy @proxy end |
#region ⇒ Object
Returns the value of attribute region.
5 6 7 |
# File 'lib/google_suggest/configuration.rb', line 5 def region @region end |