Class: Google::CustomSearch::Config
- Inherits:
-
Object
- Object
- Google::CustomSearch::Config
- Defined in:
- lib/google/custom_search/config.rb
Instance Attribute Summary collapse
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#environment ⇒ Object
Returns the value of attribute environment.
5 6 7 |
# File 'lib/google/custom_search/config.rb', line 5 def environment @environment end |
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/google/custom_search/config.rb', line 4 def path @path end |
Instance Method Details
#service_type ⇒ Object
14 15 16 |
# File 'lib/google/custom_search/config.rb', line 14 def service_type eval("#{self.service.upcase}::Service") end |