Class: Google::CustomSearch::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/google/custom_search/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#environmentObject

Returns the value of attribute environment.



5
6
7
# File 'lib/google/custom_search/config.rb', line 5

def environment
  @environment
end

#pathObject

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_typeObject



14
15
16
# File 'lib/google/custom_search/config.rb', line 14

def service_type
  eval("#{self.service.upcase}::Service")
end