Class: Kangaroo::Util::Proxy::Db
- Inherits:
-
Kangaroo::Util::Proxy
- Object
- Rapuncel::Proxy
- Kangaroo::Util::Proxy
- Kangaroo::Util::Proxy::Db
- Defined in:
- lib/kangaroo/util/proxy/db.rb
Instance Method Summary collapse
-
#db_exist(db_name) ⇒ boolean
Check if a database exists.
-
#list ⇒ Object
Get a list of available databases.
-
#list_lang ⇒ Object
Get a list of available languages.
-
#server_version ⇒ Object
Get running server version.
Methods inherited from Kangaroo::Util::Proxy
Instance Method Details
#db_exist(db_name) ⇒ boolean
Check if a database exists
8 9 10 |
# File 'lib/kangaroo/util/proxy/db.rb', line 8 def db_exist db_name call! :db_exist, db_name end |
#list ⇒ Object
Get a list of available databases
15 16 17 |
# File 'lib/kangaroo/util/proxy/db.rb', line 15 def list call! :list end |
#list_lang ⇒ Object
Get a list of available languages
22 23 24 |
# File 'lib/kangaroo/util/proxy/db.rb', line 22 def list_lang call! :list_lang end |
#server_version ⇒ Object
Get running server version
29 30 31 |
# File 'lib/kangaroo/util/proxy/db.rb', line 29 def server_version call! :server_version end |