Module: Khoj
- Defined in:
- lib/khoj.rb,
lib/khoj/index.rb,
lib/khoj/client.rb,
lib/khoj/version.rb,
lib/khoj/function.rb,
lib/khoj/configuration.rb
Defined Under Namespace
Modules: Index
Classes: Client, Configuration, Function, KhojException
Constant Summary
collapse
- VERSION =
"0.0.1"
- @@clients =
{}
- @@functions =
{}
Class Method Summary
collapse
Class Method Details
.client(index) ⇒ Object
37
38
39
|
# File 'lib/khoj.rb', line 37
def self.client(index)
@@clients[index] ||= Client.new(index)
end
|
.config {|Configuration| ... } ⇒ Object
.function(index) ⇒ Object
43
44
45
|
# File 'lib/khoj.rb', line 43
def self.function(index)
@@functions[index] ||= Function.new(index)
end
|